Dynamic DNS updatesThe ISC DHCP server has the ability to dynamically update the Domain Name System. Within the configuration files, you can define how you want the Domain Name System to be updated.
There are three parameters, which may vary according to the scope, that
control how Dynamic DNS (DDNS) updates will be done. The first two are
the
The
A third parameter,
interface "ed0" {
How DNS updates workThe client's FQDN, derived as we have described, is used as the name on which an "A" record will be stored. The A record will contain the IP address that the client was assigned in its lease. If there is already an A record with the same name in the DNS server, no update of either the A or PTR records will occur - this prevents a client from claiming that its hostname is the name of some network server. For example, if you have a fileserver calledfs.sneedville.edu , and the client claims its
hostname is fs , no DNS update will be performed for that
client, and an error message will be logged.
If the A record update succeeds, a PTR record update for the assigned IP address will be done, pointing to the A record. This update is unconditional - it will be done even if another PTR record of the same name exists. Since the IP address has been assigned to the DHCP server, this should be safe. Please note that the current implementation assumes that clients only have a single network interface. A client with two network interfaces will see unpredictable behavior. This is considered a bug, and will be fixed in a later release. It may be helpful to enable the one-lease-per-client parameter so that roaming clients do not trigger this same behavior.
The DHCP protocol normally involves a four-packet exchange - first the client
sends a
When the client's lease expires, the DHCP server (if it is operating at the
time, or when it next operates) will remove the client's A and PTR records from
the DNS database. If the client releases its lease by sending a
Making dynamic updates work with FusionLayer NameSurferIn order to make dynamic updates to work properly with FusionLayer NameSurfer, the FusionLayer NameSurfer server should be the primary server for both forward and reverse zones.For ISC DHCP server version 3 (the one which is included in the FusionLayer NameSurfer package) it is important to have a NS record in the dynamic zone which points to the actual primary server (the server where FusionLayer NameSurfer is running). Otherwise the DHCP server cannot determine the server to which it should send DNS dynamic updates to. The ISC DHCP server provided with FusionLayer NameSurfer is modified to perform dynamic updates securely using DNS transaction signatures (TSIGs). Microsoft Windows 2000 DHCP server is capable of making dynamic DNS updates. However, this server cannot be configured to perform DNS updates securely using statically configured transaction signatures. In order to make it work with FusionLayer NameSurfer, insecure dynamic updates should be enabled in FusionLayer NameSurfer server configuration files and DHCP server IP address has to be specified in the server.conf file. A Microsoft DHCP server determines DNS server to update using the SOA record and the Master NS field of zones. The field should specify the actual primary name server name, and this name should not be an alias for the actual host name.
Dynamic DNS updates and DNS viewsWhen there are several versions of the same zone in the system, selecting a version to be updated with Dynamic DNS request is done according to the views defined. The algorithm for selecting a view is the same as for selecting a version of the zone seen. More precisely, the view updated is the one seen from the requestor's IP address, and if there is no such view and the default view is defined, then default view is updated. |