Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

DNS record updating

Posted on 2014-01-03
4
393 Views
Last Modified: 2014-01-09
Hi all,

2003 domain.

Have a dns question, I dont look at DNS enough to know exactly how to fix this issue.

The laptops on my network move between the local network and the VPN. When they connect to the VPN they record gets updated, but When I try and ping from the DC it still looks for the previous LAN address and times out?

Also, some machines haven't updated there record since march, I have deleted the record manually to see if this helps?

Realistically how quickly will this change take place?
0
Comment
Question by:MJB2011
  • 2
4 Comments
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 39754184
When a machine caches a record to a workstation the TTL is 3600 seconds which is 1 hour. This is how long the record is valid for before it is considered expired. Once the TTL has expired if the machine needs to communicate with that computer or device again it will query the DNS servers on the network for the most recent record. This process continues like this throughout.

If you know that a record has changed or is stale (expired) you can open a command prompt and type ipconfig /flushdns which will clear out all of the cached records on your machine. From there you will then query the DNS server directly to get the lastest record for that device or computer.

When you have static entries in DNS Manager these values dont change. Unlike DHCP host where their records can change all of the time due to new leases or if laptops are on different networks etc.

Will.
0
 
LVL 25

Accepted Solution

by:
Zephyr ICT earned 500 total points
ID: 39754195
I think the easiest approach is to implement scavenging on your DNS servers and implement DNS Dynamic Updates for the clients

Dynamic Updates: http://support.microsoft.com/kb/816592

Scavenging: https://blogs.technet.com/b/networking/archive/2008/03/19/don-t-be-afraid-of-dns-scavenging-just-be-patient.aspx?Redirected=true  and  http://technet.microsoft.com/en-us/library/cc759204(v=ws.10).aspx

That way the old/obsolete records in DNS will be deleted and the computers will always update the records when needed (when changes happen)
0
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 39754205
There is an option on the DHCP server under Scope>DNS tab "Always Dynamically Update Host A records and PTR records" make sure that this is enabled because it is not by default.

Will.
0
 
LVL 36

Expert Comment

by:Mahesh
ID: 39754615
Are you using DHCP for leasing IPs to clients in corporate network ?

You must create a dedicated user account and configure the DHCP servers with its credentials under the following circumstances otherwise DNS record updating will not work.

The DHCP server is configured to perform DNS dynamic updates on behalf of DHCP clients.
A domain controller is configured to function as a DHCP server. Without the dedicated user account, secure updates will not work.
The DNS zones to be updated by the DHCP server are configured to allow only secure dynamic updates.

Also you must set DNS scavenging in order to clean-up DNS at periodic interval as indicated by spravtek
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_28306544.html

Mahesh
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question