Link to home
Start Free TrialLog in
Avatar of occs07
occs07

asked on

I am getting duplicate entries in DNS.

I am getting duplicate entries in our DNS server. I have already tried flushing the dns, re-registering dns, and also changing the aging but the entries still show up. We have a WINS server so I am wondering how I can check and try and resolve the problem. Also there are no logs in event viewer to tell me a problem.
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image


I know you have that you set Aging, but have you run Scavenging? And how long did you give it between setting the Aging Intervals and seeing if it made a difference?

What did you set the Aging Intervals to? And what is the Lease Time for your DHCP Scope?

Chris
Avatar of occs07
occs07

ASKER

I did run scavenging but it didnt make a difference. I set aging for both aging and scavenging to 1 hour and the dhcp lease time is set for the default of 8 days. I set DHCP to auto update every 10 minutes.

When did you set the Aging Intervals? Scavenging won't kick in the minute the intervals are set as it needs time to fully replicate the time-stamps on the records.

To start with I recommend you set it to 4 Days No-Refresh and 4 Days Refresh. Then set Scavenging to run on a Daily Period (Advanced Properties for the DNS Server). Give it a week and see if the problems disappears.

Don't set Aging as low as 1 hour, the minimum you should consider setting is 24 hours, otherwise it will Scavenge your DCs Service Records.

Chris
Avatar of occs07

ASKER

How do I get to the advanced properties for dns server? I only see no-refresh and refresh which I have set to 4 days. Also I made the mistake about aging, I do not see were I can change it?

In the DNS Server Console, right click on the Server itself and select Properties. Advanced and the Scavenging Period is there. That just defines how frequently Scavenging runs, once a day is generally plenty.

Aging itself is set per-zone and in the properties which you've already discovered.

You can kick of Scavenging manually as I think you've probably already done. But you need to give it time to replicate the Time-Stamps it adds to the Records. If you click View then Advanced and open the properties for a Record it will show you the Time-Stamp and a little tick box that states whether or not it can be Scavenged.

Chris
Avatar of occs07

ASKER

ok I found the aging but it does not let me change it. It is set to 10/5/2007 which as already passed. What should I set DHCP to?
Avatar of occs07

ASKER

Ok I have got it all set. I'll see how it works and get back to you. Thanks for your help.

No problem. It should start cleaning things up for you.

If you find things are being left behind check the record you expect to disappear has the "Delete this record when it becomes stale" box checked

And check the Record Time Stamp has passed and is at least the value of both Refresh Intervals in the past (e.g. 8 days ago).

Chris
Avatar of occs07

ASKER

I checked and some do and don't have he "Delete this record when it becomes stale" box checked. Is there a way to select all at one time and have it check that box?

There is, but if you have any static records you need to remain static it'll overwrite those as well.

If you still want to do it then install the Windows Support Tools on the server (if not already installed) then run:

dnscmd /AgeAllRecords

That copies the current date into the Date Stamp field and makes all records elligible for Scavenging if I remember correctly.

Chris
Avatar of occs07

ASKER

Ok great, I have run the command and will let you know if it worked. I manually ran scavenging so hopefully that will resolve the issue.
ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland 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