Dynamic DNS
The nsupdate command can be used to update dynamic DNS zones, e.g.
#nsupdate > update add server1.in2nix.com 86400 A 192.168.2.3 > >update delete server2.in2nix.com. > >update add 3.2.168.192.in-addr.arpa. 86400 PTR server1.in2nix.com. > >update delete 4.2.168.192.in-addr.arpa. >
N.B. It seems that you have to hit return twice after entering each command to ensure the command is taken
Otherwise you can create a command file and supply this to the nsupdate command, e.g.
cat /var/tmp/dns.out server 10.10.10.250 update add server01.justsomestuff.co.uk 3600 A 10.11.10.54 send nsupdate -g /var/tmp/dns.out
Still stuck? Maybe we can help. Contact us at Upwork
Never miss a thing subscribe to our newsletter
or follow us on twitter
For more super cool techie stuff check out our blog!!
Recent Changes
Contribute to this wiki
Why not help others by sharing your knowledge? Contribute something to this wiki and
join out hall of fame!
Contact us for a user name and password