Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.dns
Thread: Static vs Dynamic records

HTVi
TV Discussion Newsgroups

Static vs Dynamic records
Jeremy 5/7/2007 2:13:01 AM
Looking at DNS A records. How can I tell the difference between statically
created and dynamically created A records?

According to research static entries wont be scavenged when we turn on
scavenging, so I'd like to be able to identify them up front.

Cheers,
Jeremy.
Re: Static vs Dynamic records
"Herb Martin" <news[ at ]learnquick.com> 5/7/2007 4:46:43 AM

"Jeremy" <Jeremy[ at ]discussions.microsoft.com> wrote in message
news:DF56F219-E242-45DA-ADB8-C836A93CF185[ at ]microsoft.com...
[Quoted Text]
> Looking at DNS A records. How can I tell the difference between
> statically
> created and dynamically created A records?
>
> According to research static entries wont be scavenged when we turn on
> scavenging, so I'd like to be able to identify them up front.

In general they (dynamic) are the ones with Ageing turned on but
we do get a noticable number messages here from people who
claimed to have set that property by accident or without knowing
they did it.

If you use DNSCmd and filter for or against "Aging:" you will pick
out either set:

dnscmd /enumrecords domain.com . | findstr /V Aging:

Remove the "/V" to find those with the Aging parameter.

Add the DNS server name if you are not working from the Server itself.

--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)


Re: Static vs Dynamic records
Jeremy 5/7/2007 5:53:00 AM
Thanks. I also found that the dynamic records in an AD integrated DNS had an
owner ACL of SYSTEM.

"Herb Martin" wrote:

[Quoted Text]
>
> "Jeremy" <Jeremy[ at ]discussions.microsoft.com> wrote in message
> news:DF56F219-E242-45DA-ADB8-C836A93CF185[ at ]microsoft.com...
> > Looking at DNS A records. How can I tell the difference between
> > statically
> > created and dynamically created A records?
> >
> > According to research static entries wont be scavenged when we turn on
> > scavenging, so I'd like to be able to identify them up front.
>
> In general they (dynamic) are the ones with Ageing turned on but
> we do get a noticable number messages here from people who
> claimed to have set that property by accident or without knowing
> they did it.
>
> If you use DNSCmd and filter for or against "Aging:" you will pick
> out either set:
>
> dnscmd /enumrecords domain.com . | findstr /V Aging:
>
> Remove the "/V" to find those with the Aging parameter.
>
> Add the DNS server name if you are not working from the Server itself.
>
> --
> Herb Martin, MCSE, MVP
> http://www.LearnQuick.Com
> (phone on web site)
>
>
>
Re: Static vs Dynamic records
"Herb Martin" <news[ at ]learnquick.com> 5/7/2007 6:06:56 AM

"Jeremy" <Jeremy[ at ]discussions.microsoft.com> wrote in message
news:6B112ABC-E3C0-455E-A903-A5F0981C8630[ at ]microsoft.com...
[Quoted Text]
> Thanks. I also found that the dynamic records in an AD integrated DNS had
> an
> owner ACL of SYSTEM.

That will not be reliable in all cases either. When using "update
credentials"
it should be that user name.

It may also vary by which machine did the registration but
I have not checked that.

We do know there are conflicts if two DHCP servers fight over
the same record when doing secure only updates.

Oh, and the ownership may vary depending on that setting, secure
vs. unscure updates.

--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)

> "Herb Martin" wrote:
>
>>
>> "Jeremy" <Jeremy[ at ]discussions.microsoft.com> wrote in message
>> news:DF56F219-E242-45DA-ADB8-C836A93CF185[ at ]microsoft.com...
>> > Looking at DNS A records. How can I tell the difference between
>> > statically
>> > created and dynamically created A records?
>> >
>> > According to research static entries wont be scavenged when we turn on
>> > scavenging, so I'd like to be able to identify them up front.
>>
>> In general they (dynamic) are the ones with Ageing turned on but
>> we do get a noticable number messages here from people who
>> claimed to have set that property by accident or without knowing
>> they did it.
>>
>> If you use DNSCmd and filter for or against "Aging:" you will pick
>> out either set:
>>
>> dnscmd /enumrecords domain.com . | findstr /V Aging:
>>
>> Remove the "/V" to find those with the Aging parameter.
>>
>> Add the DNS server name if you are not working from the Server itself.
>>
>> --
>> Herb Martin, MCSE, MVP
>> http://www.LearnQuick.Com
>> (phone on web site)
>>
>>
>>


Re: Static vs Dynamic records
Jeremy 5/7/2007 6:23:00 AM
Yes. Also the ageing method is also dependant on an assumption, so while
there is no 100% reliable way of determining the static vs dynamic nature of
the record, the are artefacts.

"Herb Martin" wrote:

[Quoted Text]
>
> "Jeremy" <Jeremy[ at ]discussions.microsoft.com> wrote in message
> news:6B112ABC-E3C0-455E-A903-A5F0981C8630[ at ]microsoft.com...
> > Thanks. I also found that the dynamic records in an AD integrated DNS had
> > an
> > owner ACL of SYSTEM.
>
> That will not be reliable in all cases either. When using "update
> credentials"
> it should be that user name.
>
> It may also vary by which machine did the registration but
> I have not checked that.
>
> We do know there are conflicts if two DHCP servers fight over
> the same record when doing secure only updates.
>
> Oh, and the ownership may vary depending on that setting, secure
> vs. unscure updates.
>
> --
> Herb Martin, MCSE, MVP
> http://www.LearnQuick.Com
> (phone on web site)
>
> > "Herb Martin" wrote:
> >
> >>
> >> "Jeremy" <Jeremy[ at ]discussions.microsoft.com> wrote in message
> >> news:DF56F219-E242-45DA-ADB8-C836A93CF185[ at ]microsoft.com...
> >> > Looking at DNS A records. How can I tell the difference between
> >> > statically
> >> > created and dynamically created A records?
> >> >
> >> > According to research static entries wont be scavenged when we turn on
> >> > scavenging, so I'd like to be able to identify them up front.
> >>
> >> In general they (dynamic) are the ones with Ageing turned on but
> >> we do get a noticable number messages here from people who
> >> claimed to have set that property by accident or without knowing
> >> they did it.
> >>
> >> If you use DNSCmd and filter for or against "Aging:" you will pick
> >> out either set:
> >>
> >> dnscmd /enumrecords domain.com . | findstr /V Aging:
> >>
> >> Remove the "/V" to find those with the Aging parameter.
> >>
> >> Add the DNS server name if you are not working from the Server itself.
> >>
> >> --
> >> Herb Martin, MCSE, MVP
> >> http://www.LearnQuick.Com
> >> (phone on web site)
> >>
> >>
> >>
>
>
>
Re: Static vs Dynamic records
Jack Doyle <Jack.Doyle[ at ]scriptlogic.com> 5/7/2007 12:03:42 PM
Jeremy wrote:
[Quoted Text]
> Looking at DNS A records. How can I tell the difference between statically
> created and dynamically created A records?

Go into the DNS management console. On the View menu, select "Advanced"
if it is not already checked off.

Find an "A" record and double-click it.

On the "Host (A)" tab, you will see a couple of checkboxes that you
didn't see with "Advanced" view turned off. The second one, "Delete
this record when it becomes stale" is the one we are interested in.

If it is checked, it is (unless you manipulated the checkboxes manually,
which I doubt) a dynamically created record. The timestamp, which
always rounds to the even hour, indicated when the record was last updated.

If the checkbox is unchecked, it was a manually created record, and will
NOT be available for scavenging unless you check the box, which you
probably don't want to do on a manual record.

Hope this helps.

Regards,
Jack Doyle, Systems Engineer
ScriptLogic Corporation
http://www.scriptlogic.com
Re: Static vs Dynamic records
"kj" <kj[ at ]nowhere.com> 5/9/2007 8:12:44 AM
Jeremy wrote:
[Quoted Text]
> Looking at DNS A records. How can I tell the difference between
> statically created and dynamically created A records?
>
> According to research static entries wont be scavenged when we turn on
> scavenging, so I'd like to be able to identify them up front.
>
> Cheers,
> Jeremy.

Try using the following command;

dnscmd servername /zoneprint domain.com

HPSwitch 3600 A 192.168.253.253
> The above is a static record *not* subject to aging.

office1 [Aging:3561873] 900 A 192.168.253.101
> The above record *is* subject to aging.

;
; Finished zone: 62 nodes and 39 records in 0

--
/kj


Re: Static vs Dynamic records
"Kevin D. Goodknecht Sr. [MVP]" <admin[ at ]nospam.WFTX.US> 5/9/2007 12:48:12 PM
Read inline please.

In news:DF56F219-E242-45DA-ADB8-C836A93CF185[ at ]microsoft.com,
Jeremy <Jeremy[ at ]discussions.microsoft.com> typed:
[Quoted Text]
> Looking at DNS A records. How can I tell the difference between
> statically created and dynamically created A records?

There is no absolute answer for this, all dynamic records have a timestamp
and are subject to scavenging if scavenging is enabled.
As for static records, they will not have a timestamp, they have to be
manually created, but this does not mean that all manually created records
are static because if you check the box, "Delete this record when it becomes
stale" the record will have a timestamp, making it subject to scavenging.





--
Best regards,
Kevin D. Goodknecht Sr. [MVP]
Hope This Helps
Send IM: http://www.icq.com/people/webmsg.php?to=296095728
===================================
When responding to posts, please "Reply to Group"
via your newsreader so that others may learn and
benefit from your issue, to respond directly to
me remove the nospam. from my email address.
===================================
http://www.lonestaramerica.com/
http://support.wftx.us/
http://message.wftx.us/
===================================
Use Outlook Express?... Get OE_Quotefix:
It will strip signature out and more
http://home.in.tum.de/~jain/software/oe-quotefix/
===================================
Keep a back up of your OE settings and folders
with OEBackup:
http://www.oehelp.com/OEBackup/Default.aspx
===================================


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen