nsupdate is a computer network maintenance utility used by network administrators to request the name server of a DNS zone to update its database. The name server might be local to a domain or, with appropriate authentication and permission provided by DNSSEC, an internet name server.
BIND 8 and later supports this feature.
This example removes the nameserver address record for oldhost from domain example.com and replaces it with a new address record with a 24-hour time to live (86,400 seconds). The new host's IP address is 192.168.254.117.
# nsupdate > server ns.mydns.com > update delete oldhost.example.com. A > update add newhost.example.com. 86400 A 192.168.254.117 > send > quit
Here is an example using a TSIG key, adding an A record for host host1.my.example.com with IP address 10.20.30.40:
# nsupdate -k /path/to/file-is-rndc.key > server server1.example.com > zone my.example.com > update add host1.my.example.com. 3600 A 10.20.30.40 > send > quit
- Linux nsupdate man page
- nsupdate: Quick and Painless Dynamic DNS
- NSUPDATE HOWTO by Stef Caunter, Feb 2003. Updated Jan 28, 2005.
- Debian Administration System Administration Tips and Resources
|This World Wide Web–related article is a stub. You can help Wikipedia by expanding it.|