+ Post New Thread
Results 1 to 13 of 13
Windows Server 2000/2003 Thread, DNS / DHCP - Since the holidays - DNS all wrong !!! Scavenging not working in Technical; Can anyone please help. I thought we had DNS working perfectly, but after the 6 weeks holiday i have noticed ...
  1. #1

    Join Date
    Aug 2007
    Posts
    812
    Thank Post
    98
    Thanked 64 Times in 46 Posts
    Rep Power
    26

    DNS / DHCP - Since the holidays - DNS all wrong !!! Scavenging not working

    Can anyone please help. I thought we had DNS working perfectly, but after the 6 weeks holiday i have noticed that around 40% of the computer in DNS have the incorrect IP.

    I have followed several guides and noticed that our outdated timestamped DNS entries arent being scavenged. I have set scavenging in the 3 places suggested:

    The DNS server - "Automatic Scavenging of stale records" enabled and set to 7 days
    The Zone - "Scavenge Stale Resource records" enabled, No-Refresh interval set to 3 days. Refresh interval set to 3 days.
    DHCP has the Lease Duration set to 3 days.

    I have DNS records with the dates of May 2011. I have tried to tell DNS to scavenge records now but i get the 2052 error.
    I can only see one 2051 log of scavenging report from back in Jan 2011 and nothing has been touched since then.?

    Can anyone please advice their working dates and times or suggest a solution for me?

    Thanks in advance!

  2. #2

    Join Date
    Aug 2007
    Posts
    812
    Thank Post
    98
    Thanked 64 Times in 46 Posts
    Rep Power
    26
    Is no-one prepared to share their No-Refresh/Refresh-Interval/DNS Scavenging age/DHCP lease durations with me

  3. #3

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

  4. #4

    Join Date
    Aug 2007
    Posts
    812
    Thank Post
    98
    Thanked 64 Times in 46 Posts
    Rep Power
    26
    Cheers Geoff,
    That was the main guide that I followed... I have just re-read and noticed that on one of the screenshots:
    image_4.png

    He has "Update Assosiated Pointer (PTR) Record" ticked for his DNS records.

    Does everyone else have this enabled on each of there DNS records??

  5. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Quote Originally Posted by burgemaster View Post
    He has "Update Assosiated Pointer (PTR) Record" ticked for his DNS records.

    Does everyone else have this enabled on each of there DNS records??
    That's only for equipment that doesn't do it itself (printers for example). However Windows 7 doesn't seem to do it either sometimes. This seems to be down to a client side setting. Have a read of this.

    Windows 7 & Reverse Lookup DNS Registration | ADdict

  6. Thanks to Geoff from:

    burgemaster (23rd September 2011)

  7. #6

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,800
    Thank Post
    272
    Thanked 1,135 Times in 1,031 Posts
    Rep Power
    349
    My Leases are set to 8 hours. and DHCP is setup to register the DNS of each client when it is issued an address. and also delete the a and pointer records when the lease has expired.

    to look at these options right click on the scope and open the properties then look at the DNS tab

  8. Thanks to glennda from:

    burgemaster (23rd September 2011)

  9. #7

    Join Date
    Aug 2007
    Posts
    812
    Thank Post
    98
    Thanked 64 Times in 46 Posts
    Rep Power
    26
    AT LAST !!!!!!

    Event Type: Information
    Event Source: DNS
    Event Category: None
    Event ID: 2501
    Time: 11:40:40
    User: N/A
    Computer: XX2
    Description:
    The DNS server has completed a scavenging cycle:
    Visited Zones = 5,
    Visited Nodes = 1155,
    Scavenged Nodes = 642,
    Scavenged Records = 721.
    This cycle took 0 seconds.
    The next scavenging cycle is scheduled to run in 168 hours.

  10. #8

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    So, what was wrong?

  11. #9

    Join Date
    Aug 2007
    Posts
    812
    Thank Post
    98
    Thanked 64 Times in 46 Posts
    Rep Power
    26
    It wasnt enabled on the actual DC itself, and then i guess i was being impatient!

    image_12.png

  12. Thanks to burgemaster from:

    Edwardjr (14th March 2012)

  13. #10
    Edwardjr's Avatar
    Join Date
    Nov 2008
    Location
    London
    Posts
    58
    Thank Post
    13
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Just had this problem myself! Was right clicking on the DC and selecting the Set Aging but never noticed the option in the properties menu!

  14. #11

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,512
    Thank Post
    1,320
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    199
    if my dhcp leases are 12 hours, what refresh intervals should I be using?

  15. #12

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Best practice is that the refresh interval should be set to half the lease length. So in your case 6 hours.

  16. Thanks to Geoff from:

    RabbieBurns (15th March 2012)

  17. #13

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115
    Quote Originally Posted by Geoff View Post
    Best practice is that the refresh interval should be set to half the lease length.
    Why are the MS defaults still DHCP:8 days, and 7 days for the refresh intervals though? I'm convinced both intervals should be smaller than the lease. Not sure about the scavenging interval here i.e. how frequently to scavenge DNS.

    Personally I hate scavenging because it's a serious kludge, and at this kind of turnover might consider: a) Getting DHCP to register and delete all the DNS records, b) Do something else to clean out the dynamic-registered DNS records overnight (you can make clever scripts etc. to do that).

    I'm also wondering how much of an effect this has on AD size: Does it get big (if so how much bigger) because there are lots and lots of deleted/tombstoned DNS records hanging around?

SHARE:
+ Post New Thread

Similar Threads

  1. Do you have a second job during the holidays?
    By Little-Miss in forum General Chat
    Replies: 22
    Last Post: 28th October 2008, 10:17 AM
  2. Replies: 3
    Last Post: 9th September 2008, 06:23 PM
  3. Replies: 7
    Last Post: 17th May 2007, 11:42 PM
  4. A Question About The Holidays
    By sqdge in forum General Chat
    Replies: 42
    Last Post: 13th April 2007, 10:12 PM
  5. DNS on one client not working even server IPs set correctly
    By NetworkGeezer in forum Wireless Networks
    Replies: 6
    Last Post: 13th February 2007, 02:13 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •