kinit with a domain user:
kinit genadi@TEST.LOCAL
Ones you have a krbtgt you can run nsupdate in GSS-TSIG mode:
nsupdate -g
Interactive:
nsupdate -g
> zone test.local.
> update add comp1.test.local. 86400 A 192.168.227.100
> send
One liner:
echo -e "update add comp1.test.local 86400 A 192.168.227.100 \nsend" | nsupdate -g
Interactive:
nsupdate -g
> zone 227.168.192.in-addr.arpa.
> add 100.227.168.192.in-addr.arpa. 86400 PTR comp1.test.local.
> send
One liner:
echo -e "zone 227.168.192.in-addr.arpa.\n add 100.227.168.192.in-addr.arpa. 86400 PTR comp1.test.local. \nsend" | nsupdate -g