Re: DNS not updating

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



The DHCP service registers DNS records on behalf of the client machines. For that the DHCP service needs a regular account to register "secure" the DNS records, sometimes this account is created with expiring password, so when the password expires or changes the DHCP server won't be able to register the DNS records on client's behalf.
Check the used account on DHCP properties-> Advanced Tab-> credentials.
Try the following:
Delete the DNS record for a given machine, then from cmd type ipconfig /registerdns, check if the record is created.
Check
http://technet2.microsoft.com/WindowsServer/en/library/d0e19b57-c368-46c2-b017-caf25ae150ec1033.mspx?mfr=true
--

I hope that the information above helps you.
Have a Nice day.
Jorge Silva
MCSE

"Rob Campbell" <poohba@xxxxxxxxxxxxxxxx> wrote in message news:Pine.LNX.4.64.0702021823410.22535@xxxxxxxxxxxxxxxxxxx
DHCP is updating. DNS is not. I didn't change any user passwords. It should be set to non-expiring but I honestly don't know which user that is or exactly what you are referring to. Is there a page that explains this? I didn't set it up. I'm just trying to resolve an issue so I could be completely in the dark on this. No one here set this up. No one here is a pro in AD and/or DHCP and/or DNS. We are just trying to get and keep things working for as long as we are here; which won't be long since we are being bought.

On Fri, 2 Feb 2007, Jorge Silva wrote:

Ok, I re.read your post, and according to you, DHCP isn't updating the records, is this correct?
If yes, if you manually delete the DNS record and run from the machine ipconfig /registerdns, the record is created? If not, did you changed the DHCP user password that id used to register DNS records on behalf of the client? Is that account with a non-expiring PW?

--

I hope that the information above helps you.
Have a Nice day.
Jorge Silva
MCSE

"Rob Campbell" <poohba@xxxxxxxxxxxxxxxx> wrote in message news:Pine.LNX.4.64.0702012002110.32540@xxxxxxxxxxxxxxxxxxx
DHCP does have a reverse lookup zone and dns does allow dynamic dns but it is secure only. The machine that has the problem is a machine that is joined to the domain so why would this happen?

On Thu, 1 Feb 2007, Jorge Silva wrote:

Hi
Check, DHCP, If Reverse lookup Zone is created, if DNS allows Dynamic DNS, if that machine is member of the domain, if not and DNS only allows secure updates, than the error is espected.
Also
http://www.eventid.net/display.asp?eventid=11163&eventno=1779&source=DnsApi&phase=1

--

I hope that the information above helps you.
Have a Nice day.
Jorge Silva
MCSE

<poohba@xxxxxxxxxxxxxxxxxxxx> wrote in message news:Pine.LNX.4.64.0702011244280.32540@xxxxxxxxxxxxxxxxxxx
Dynamic update was set to secure. Now I need to know what happens if something is wrong with the security. What would be an "insecure" action? Temporarly going to change it to any and see if that has any effect. Error in event log of one of the machines with problem:

Event Type: Warning
Event Source: DnsApi
Event Category: None
Event ID: 11163
Date: 2/1/2007
Time: 8:53:57 AM
User: N/A
Computer: BED-ECOX-LT
Description:
The system failed to register host (A) resource records (RRs) for network adapter
with settings:

Adapter Name : {D4831D98-7F2F-4BE0-BE27-72A39CDAxxxx}
Host Name : BED-ECOX-LT
Primary Domain Suffix : skynet.com
DNS server list :
172.20.65.20, 172.20.64.12
Sent update to server : 172.1.1.1
IP Address(es) :
172.20.67.89

The reason the system could not register these RRs was because the DNS server failed the update request. The most likely cause of this is that the authoritative DNS server required to process this update request has a lock in place on the zone, probably because a zone transfer is in progress.

You can manually retry DNS registration of the network adapter and its settings by typing "ipconfig /registerdns" at the command prompt. If problems still persist, contact your DNS server or network systems administrator.

On Thu, 1 Feb 2007, Herb Martin wrote:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 2d 23 00 00 -#..


#####
Sent update to server: 172.1.1.1 does not exist. Not sure where this info is coming from.


<poohba@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:Pine.LNX.4.64.0702011030090.32540@xxxxxxxxxxxxxxxxxxx
When a user goes home and logs on via VPN they are assigned a ip of
course. When they come back into the office they get a different ip of
course but usually the one they had last time they were in the office
depending on how long ago that was.

Why? Machines don't typically need the old IP.

Use Dynamic DNS to get them registered in DNS with current IP.

The problem is that the name cannot be resolved. ping resolves to the ip
they had while on the VPN and the DNS record has the vpn ip address but
DHCP has the correct ip address.


Why is DNS not updating and how do I make it update and/or should I be
looking somewhere else?

Do the machines have their CORRECT DNS name in the Primary DNS
Suffix in SYSTEM Control Panel?

Are the machines or the DHCP server expected to register these stations?

DHCP server should also configure the scope with DNS name and bet set
to do the registration if you wish it to handle this.

Would a login script that does ipconfig /flushdns

Irrelevant since that is about the cache.

ipconfig /registerdns nbtstat -RR do the trick?

Probably not if the machines are already registering themselves.

MAYBE so if the machines are not being restarted, but in that case the
users are probably not logging on either. (Just sleep/wake machine.)

Do I need to go through all of that or is there a setting in DNS that I
need to fix?

Check the DNS server is allowing ANY dynamic updates. Check that
some machines can register.

If this is the case then likely the problem is with a (BASIC) DNS problem
(not the dynamic stuff per se) that is actually preventing domain
authentication,
or some firewall/router issue, or time sync. Something preventing
authentication
of the workstations. (Again, DHCP dynamic registration might get around
this
but such problems need to be fixed too.)

--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)








.



Relevant Pages

  • Re: Static IP timestamp
    ... I just tested this withWindows 2003 DNS. ... When I had built a few servers for a customer and let them auto register, they had a timestamp and the scavenge checkbox was checked. ... Unless you are seeing something going on that is affecting your environment, the default settings work fine, at least they do for me for all of my customers and installations I've worked in that I've set scavenging and forced DHCP to own the records so it can update the records it had registered at lease refresh time. ...
    (microsoft.public.windows.server.dns)
  • Re: Not removing old reverse DNS records
    ... DHCP, Dynamice DNS Updates, Scavenging, static entries & timestamps, and the DnsProxyUpdate Group: ... The nice thing about DHCP ... Force DHCP to register all records, Forward and PTR, (whether a client ... DHCP COnsole, DHCP server properties, and on the Advanced tab of the DHCP Server ...
    (microsoft.public.windows.server.dns)
  • Re: RRs Not Refreshing in DNS
    ... refresh the record, a ipconfig /renew does not refresh the record. ... Other than the records not having a time stamp, this sounds like the DHCP ... Clear the register this connection's addresses in DNS on the clients. ... With these settings, the DHCP server will register the records, update the ...
    (microsoft.public.windows.server.dns)
  • Re: Dynamic DNS, DNS Records & Scavenging
    ... We have an issue whereby we want external clients to register there ... There are two DHCP ... DNS however this doesn't seem to be the case. ... DNSUpdateProxy and when i did this i saw my test laptop register its ...
    (microsoft.public.windows.server.dns)
  • Re: RRs Not Refreshing in DNS
    ... refresh the record, a ipconfig /renew does not refresh the record. ... Other than the records not having a time stamp, this sounds like the DHCP ... Clear the register this connection's addresses in DNS on the clients. ... With these settings, the DHCP server will register the records, update the ...
    (microsoft.public.windows.server.dns)