D
Dave Willcocks
Hopefully someone can help me with this one.
I have 2 DHCP servers in an office. Both are set to always update
DNS.
Scenario
A Windows XP client machine is has an IP address of 10.1.1.1, issued
from DHCP server #1
After a reboot it collects IP address 10.1.2.1 from DHCP server #2
When I try to ping the Client the name resolves to the old address.
I check the DNS and see that the record is still 10.1.1.1, so I delete
the record and ensure that all DNS servers have no record for that
machine.
WINS has the correct address.
On the client machine I run ipconfig /registerDNS.
The DNS record is updated succesfully and and I am able to ping the
machine from the rest of the network as it resolves correctly to
10.1.2.1
Approx 2 hours later I am no longer able to ping, the client is
resolving back to the old address (10.1.1.1)
Checking DNS I see that the record has returned to it's old address.
When I check the DHCP servers I see that both have leases for the
client machine. DHCP#1 has 10.1.1.1, DHCP#2 has 10.1.2.1
I am assuming that DHCP#1 is re-registering the address with DNS and
overwriting the correct entry.
I assumed that DHCP only updates DNS when it gives out a lease, but
this would appear to show that DHCP must keep updating DNS at certain
times.
So what I'm asking is this:
If I was to change the the DHCP server to update DNS only when the
client requests would this fix the problem?
What is the schedule for DHCP updating DNS (if this is what it does),
and can this be altered?
Does the older DHCP lease have priority as it is the original owner of
the record?
BTW to fix the problem in this instance I deleted the lease on DHCP#1
Cheers in advance to all you networking gurus out there.
dave
I have 2 DHCP servers in an office. Both are set to always update
DNS.
Scenario
A Windows XP client machine is has an IP address of 10.1.1.1, issued
from DHCP server #1
After a reboot it collects IP address 10.1.2.1 from DHCP server #2
When I try to ping the Client the name resolves to the old address.
I check the DNS and see that the record is still 10.1.1.1, so I delete
the record and ensure that all DNS servers have no record for that
machine.
WINS has the correct address.
On the client machine I run ipconfig /registerDNS.
The DNS record is updated succesfully and and I am able to ping the
machine from the rest of the network as it resolves correctly to
10.1.2.1
Approx 2 hours later I am no longer able to ping, the client is
resolving back to the old address (10.1.1.1)
Checking DNS I see that the record has returned to it's old address.
When I check the DHCP servers I see that both have leases for the
client machine. DHCP#1 has 10.1.1.1, DHCP#2 has 10.1.2.1
I am assuming that DHCP#1 is re-registering the address with DNS and
overwriting the correct entry.
I assumed that DHCP only updates DNS when it gives out a lease, but
this would appear to show that DHCP must keep updating DNS at certain
times.
So what I'm asking is this:
If I was to change the the DHCP server to update DNS only when the
client requests would this fix the problem?
What is the schedule for DHCP updating DNS (if this is what it does),
and can this be altered?
Does the older DHCP lease have priority as it is the original owner of
the record?
BTW to fix the problem in this instance I deleted the lease on DHCP#1
Cheers in advance to all you networking gurus out there.
dave