Link to home
Start Free TrialLog in
Avatar of idemoya
idemoya

asked on

DHCP Server does not update A record in DNS Server on Windows 2003 Server

I have a single server Domain setup running Windows 2003 Server with DHCP and DNS services enabled. I have configured DHCP to automatically update the DNS server. For some clients it updates the A record and for some clients it doesn't. But it seems that for all clients it updates the PTR record.

1) If I connect a MAC running OS X and obtain an IP address i can see the reord on the dhcp with the address and the FQDN mymack.mynetwork.local. If you look at the DNS server you can see the A and PTR records created.

2) If i connect with a windows machine (XP) that belongs to a workgroup the DHCP registers the computer as computername. (no DNS suffic added). The DNS does not create an A record in the mynetwork.local scope. But it does create a pointer record. Regardless of the settings on the Clients DNS setup it will not create an A record.

3) If I connect a computer from another domain the affects are very similar to a machine on a workgroup. On the DHCP console I can see the address leased as computername.otherdomain.local. But again no A record created but a PTR record created.

Is this normal behavior or am I missing something? My goal is that any device connected to my network will get a DNS entry (A Record) on my system. On an older setup of Windows 2000 that I have I do not encounter this issue. Any client that gets an IP address from DHCP gets an A record.

help.....
Avatar of Venugopal N
Venugopal N
Flag of India image

Is it Active directory domain or simple DNS domain?
Avatar of idemoya
idemoya

ASKER

Right now I have it setup as AD domain. I followed all the instructions like the articles:
http://support.microsoft.com/kb/816592 and
http://support.microsoft.com/kb/814591

On an XP machine, open Properties for TCP/IP, select Advanced, DNS tab. Is 'Register this connection in DNS' selected?
If its an AD domain then the DHCP server need to be authorizied by the AD.
If DHCP is an authorizied one, then it will provide IP only for the computer which is part of that domain.
And check

For more info about authorizing DHCP refer the below link

http://technet.microsoft.com/en-us/library/cc781697(WS.10).aspx
Avatar of idemoya

ASKER

Yes that is selected. And I have tried to different windows machines. One on a workgroup (not joined to a windows domain) and another XP machine that is joined to another domain.
Avatar of idemoya

ASKER

The DHCP is autorized and it provides IP address to any machine regardless of membership to the windows  domain.
Ok , In DNS make the Dynamic update type as  "Secure and non-secure"  and let see if it update the all the records.
Avatar of idemoya

ASKER

I did that and it still did not work. What is strange is that the MAC obtains the DHCP and updates the DNS. The two windows machines don't. THis is something so simple and its driving me nuts.
Avatar of idemoya

ASKER

When the DHCP server assigns the IP address the computers are listed as follows:
#1) mac.mynetwork.local
#2) xp01.                                (this is the xp machine on the workgroup not joined to a win domain)
#3) xp02.othernetwork.local (this xp machine is registered to another widows domain.

The pnly machine that gets updated in the DNS correctly is #1. The other 2 don't appear because I assume they don't fall into the DNS scope of "mynetwork.local" The xp01 doesnt have a DNS suffix even though its setup to obtain one from the DHCP and xp02 belongs to another domain so it won't show a record on mynetwork.local scope.

Just thinking out loud.
DNS updating is both done by DHCP client and by the DHCP server
Use the DNS tab in the DHCP server properties.
Select the options that it shall always update DNS A and PTR records for clients that do not request updates.
Ofcourse the DNS will update the record which belongs to the DNS scope(i.e mynetwork.local),other domain or non domain record won't be update.
ASKER CERTIFIED SOLUTION
Avatar of Henrik Johansson
Henrik Johansson
Flag of Sweden 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
Avatar of Premkumar Yogeswaran
Hi,
i belive as per the post above you should configured DNS Dynamic update as per this link below
http://support.microsoft.com/kb/816592

Are you configured the Agening and Scavenging?
To configure the same check this link below
http://support.microsoft.com/kb/932464

Check this option in systems
Open Properties for TCP/IP--> select Advanced --> DNS tab -->Check 'Register this connection in DNS'


ipconfig /registerdns