![]()
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
IntroductionWhat follows is actually an alternative to the Dynamic DNS update implementation in the latest ISC's DHCP servers. The main interest of this method is that it can be adapted to any DHCP server (insofar as the configuration file is parsable by the perl script) and that one no longer uses cron to call the perl scripts: scripts are directly called on demand by the DHCP server only when it is necessary. This guarantees a very fast update of DNS servers. All the more, the patch is very easy to install. GoalIt is a matter of giving a DHCP server the capability to update a DNS server's entries according to the requests it recieves and the leases it gives. Thus, a new computer configured recognized by the DHCP server will be immediately registered in the DNS database. On the contrary, when a lease is over or when a computer releases its lease, it will be removed immediately from the DNS entries. This is quite useful on a network that recieve a lot of connections and DHCP requests (trading premises, campus networks). Each recognized machine will be able to use the mail servers, not the other machines. For securiry reasons, it is highly recommended to register in the DNS entries all authorized machines and to allow access to network resources only to these machines. What has to be doneThe idea is to make the DHCP server call by itself the perl script when it has just updated its lease database. One needs to patch the source code by inserting a call to the scripts at the end of the C function that updates
the lease database. This function, in the IDC's DHCP servers, is called
NSUPDATE_SCRIPT is a constant defined in the
The ...... must obviously be replaced by the complete path to the ddns.cron.pl perl script. It is also possible to patch the |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Copyright © 2000-2002 themanualpage.org - This site is submissive to the terms of the GNU GPL and FDL licences. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||