+ 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
    574
    Thank Post
    72
    Thanked 38 Times in 26 Posts
    Rep Power
    17

    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. IDG Tech News

  3. #2

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

  4. #3
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,056
    Blog Entries
    1
    Thank Post
    104
    Thanked 439 Times in 380 Posts
    Rep Power
    114

  5. #4

    Join Date
    Aug 2007
    Posts
    574
    Thank Post
    72
    Thanked 38 Times in 26 Posts
    Rep Power
    17
    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??

  6. #5
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,056
    Blog Entries
    1
    Thank Post
    104
    Thanked 439 Times in 380 Posts
    Rep Power
    114
    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

  7. Thanks to Geoff from:

    burgemaster (23rd September 2011)

  8. #6

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    The Office
    Posts
    5,434
    Thank Post
    236
    Thanked 696 Times in 629 Posts
    Rep Power
    226
    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

  9. Thanks to glennda from:

    burgemaster (23rd September 2011)

  10. #7

    Join Date
    Aug 2007
    Posts
    574
    Thank Post
    72
    Thanked 38 Times in 26 Posts
    Rep Power
    17
    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.

  11. #8
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,056
    Blog Entries
    1
    Thank Post
    104
    Thanked 439 Times in 380 Posts
    Rep Power
    114
    So, what was wrong?

  12. #9

    Join Date
    Aug 2007
    Posts
    574
    Thank Post
    72
    Thanked 38 Times in 26 Posts
    Rep Power
    17
    It wasnt enabled on the actual DC itself, and then i guess i was being impatient!

    image_12.png

  13. Thanks to burgemaster from:

    Edwardjr (14th March 2012)

  14. #10
    Edwardjr's Avatar
    Join Date
    Nov 2008
    Location
    London
    Posts
    40
    Thank Post
    10
    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!

  15. #11

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    4,747
    Blog Entries
    6
    Thank Post
    1,015
    Thanked 427 Times in 272 Posts
    Rep Power
    141
    if my dhcp leases are 12 hours, what refresh intervals should I be using?

  16. #12
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,056
    Blog Entries
    1
    Thank Post
    104
    Thanked 439 Times in 380 Posts
    Rep Power
    114
    Best practice is that the refresh interval should be set to half the lease length. So in your case 6 hours.

  17. Thanks to Geoff from:

    RabbieBurns (15th March 2012)

  18. #13

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,039
    Thank Post
    69
    Thanked 275 Times in 218 Posts
    Rep Power
    97
    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, 11: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. Replies: 6
    Last Post: 13th February 2007, 03: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
  •