Bind dynamically updating a zone Chatrandom sex cerls
Most Linux distributions allow configuration of interfaces by DHCP.Typically, they do this by placing an appropriate statement in the interface configuration file (for example, /etc/sysconfig/network-scripts/ifcfg-eth0) such as DYNAMIC=DHCP and not specifying the IP address, subnet mask, etc. Please visit this page to clear all LQ-related cookies.This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant.Most distributions do not provide such a script, but it is easy to write one.
The nsupdate command can easily be invoked from within a script which picks up the required values from the variables in the info file created by dhcpcd.
If you want to dump the changes into the zone file, you need to freeze the zone and then thaw (unfreeze) it.
Many network administrators have eased their workload by switching to using a DHCP server to configure client machines.
But RFC 2845 introduces a simpler technique, based on signing the updates with a shared secret key. You can do this manually, but a better way to get a proper key with the required degree of randomness is to use the dnssec-keygen utility.
This approach will prove adequate for many environments. This is part of the BIND package, so it is probably not installed on the client computer, and you may have to perform this step at the DNS.