nsupdate
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.
Example
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
Example 2
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
See also
External links
- 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
References
This article is issued from Wikipedia - version of the Monday, March 07, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.