RE: avoid dns scavenging

From: RD (RD_at_discussions.microsoft.com)
Date: 02/10/05


Date: Thu, 10 Feb 2005 09:43:07 -0800

I think the RRs (I'm adding A and PTR) added by DnsModifyRecordsInSet() are
not scavenged although the time stamp is not zero. I've been testing
scavenging/aging with refresh intervals of zones and DNS server set to 1 hr.
and then manually triggering the scavenging. I also tried DNSCMD
/AgeAllRecords and /StartScavenging but didn't see RRs being purged.

I think the RR are not "dynamically updated" from DNS prespective and
doesn't meed the Prerequisites for aging/scavenging as per article

Understanding aging and scavenging; Windows Server 2003.

http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/sag_DNS_und_AgingScavenging.asp

RD

"Jorge Marcos" wrote:

> That's the question!!
> I didn't found any resource about how to set this value programatically.
> Thru DNS MMC, when you unmark scavening checkbox from a record, it sets the
> timestamp to zeroes on local DNS database.
>
> "RD" wrote:
>
> > Jorge,
> >
> > How do you set record timestamp to zeroes? Did it worked for you? I too am
> > trying to add RR using same API so that it doesn't get purged/scavanged.
> >
> > RD
> >
> > "Jorge Marcos" wrote:
> >
> > > How can I programmatically set a new DNS resource record with
> > > DnsModifyRecordsInSet() to avoid scavenging?
> > > I think if I set record timestamp to zeroes eliminates this record from
> > > scavenging process, right?
> > > If Yes, how?



Relevant Pages

  • Re: Duplicate HOST A record entries on the reverse lookup Zone
    ... then 24 and did the manual/ start scavenging of the stale resource records ... Used the DHCP server to update DNS records: ... "Set Aging/Scavenging for All Zones. ...
    (microsoft.public.windows.server.dns)
  • Re: DNS Scavenging
    ... We are planning to turn on DNS Scavenging and are ... Not to delete the DNS record when it becomes stale etc.. ... The nice thing about DHCP ... Force DHCP to register all records, Forward and PTR, (whether a client ...
    (microsoft.public.windows.server.active_directory)
  • Re: Scavenging DNS records
    ... > addresses are being used for VPN connections. ... > Is there a better way to keep DNS cleaned up so this doesn't happen? ... > be able to assign the address to the network adapter on the VPN client. ... >>> I also set the automatic scavenging property on the DNS server ...
    (microsoft.public.windows.server.dns)
  • Re: Always need to re-register DC DNS entry!
    ... Scavenging time must be longer than registration refresh interval. ... The registry value below can be found in this KB: ... How to configure DNS dynamic updates in Windows Server 2003 ... scavenging and with client computers moving from one site to another ...
    (microsoft.public.windows.server.dns)
  • Re: DHCP updates to DNS question
    ... WK's concise answer convinced me to turn scavenging on. ... the zone level first and then the server level. ... Dynamically update DNS A and PTR records for DHCP clients that do ... Lookup Zone. ...
    (microsoft.public.windows.server.sbs)

Loading