Link to home
Start Free TrialLog in
Avatar of gyetton
gyettonFlag for United Kingdom of Great Britain and Northern Ireland

asked on

DHCP not updating DNS

My DNS does not appear to be updating.
I have the DHCP set to always dynamically update DNS A & PTR records, discard A & PTR records when lease is deleted) and update A & PTR for DHCP clients that do not request updates. IP Addresses are only assigned to DHCP Clients.
DHCP & DNS, Client & Server services are running.
I cant see anything in the Event Viewer that looks pertinent

Before Christmas I had all users log off and shut down, so I could delete all DHCP & DNS records, as I thought there was a problem, and I hoped that by removing all records from the DNS & DHCP that when new licenses were issued the DNS would be populated properly.
Avatar of lnkevin
lnkevin
Flag of United States of America image

i was going to suggest this as well. had same problem. only zones with a reverse look up zone will be updated by DHCP. also check permission of DHCP server to update DNS server!
Avatar of gyetton

ASKER

yes
But I can also see machine names that are no longer connected to our network.
In the Forward Lookup Zone I can see some IP addresses but I have one address 192.168.1.84 that has different machine names in each zone.
reverse shows rtltmhyde.rtg.local whereas the forward zone shows RTLTTraining3
Restart the services and reset DNS
1. Restart the DNS service.
2. Restart the Net Logon service.
3. At a command prompt, type the following commands. Press ENTER after each command
ipconfig /flushdns
ipconfig /registerdns

K
Avatar of gyetton

ASKER

Thanks
Done, It says errors will be reported in 15 mins, so I will check then
Avatar of gyetton

ASKER

I have a lot more address leases in the DHCP than I do in the DNS, do I need to force the DNS to update or is that what /registerdns should do?

The last entry in the Event Viewer under DNS was DNS started that was 16:41:29
at 16:41:34 Netlogon produced warning 5782, no DNS server configured for local system.
ASKER CERTIFIED SOLUTION
Avatar of lnkevin
lnkevin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I agree...reinstall DNS if there are any errors in the DNS logs.
Avatar of gyetton

ASKER

Thanks Guys, I'm more of a developer than system admin, but I have to do both!
How do I reistall the DNS. The servers were set up by my predecessor.

Thanks, I'll try when I'm back in work later today.
You need to remove DNS server before reinstall it. Here is the steps to remove DNS:
http://www.asociacion-aecsi.es/doc/Windows/Windows_2000_Server_Configuration/del_dns/index.html

After you have done this, you want to make sure DNS folder in system32 is gone. You then use the above instruction to install DNS. After all, you need to do the following steps:
Restart the services and reset DNS
1. Restart the DNS service.
2. Restart the Net Logon service.
3. At a command prompt, type the following commands. Press ENTER after each command
ipconfig /flushdns
ipconfig /registerdns

K
Avatar of gyetton

ASKER

Unistall looks simple.
But I am worried about mucking it all up, then again it's not working properly now.
I had a quick look at all three links and link 1 looked good.

I have 7 folders under Forward Lookup Zones and 5 under Reverse Lookup Zones.
I recon a set of printed screen dumps, should help make sure I get it right, but I think I'll have a play on my home server, first!

5 of the folders under FLZ are domain names, most have just SOA NS & CNAME entries
1 also has 2 Host(A) records with (IP address like 62.121.xx.xxx)  and has multiple CNAME records with my server names.
And the other one, the .local one also has folders _msdcs, _sites, _tcp, _udp with lots of info in them.

I might just pay someone to fix this for me!
I'd hate to totaly muck it up.

If I did muck it up, what is the worst that can happen (we do host our own web sites!)?
If you are not familiar with DNS set up, I suggest you to pay someone to do it and it will take a couple hours for a consultant to reinstall DNS server depends on how complex the system is. Peace of mind, that is what we are all living with. However, the procedure is giving you some idea about what you are approaching. Good luck for your task in new year!

K
Avatar of gyetton

ASKER

Thanks
For all your help, I'll mark reinstall as the answer.
Cheers.
I've run in to this problem on a domain with two active directory integrated DNS servers. The resolution was as simple as deleting the forward lookup zone for the domain <whatever.local> in both dns MMC's, and recreating them.
It repopulated it self with proper records and worked fine after that.