PC Review


Reply
Thread Tools Rate Thread

Caching-Only server TTL

 
 
Hooty
Guest
Posts: n/a
 
      18th Jul 2003
What is the TTL for forward lookups cached by a Caching-
Only server? (DNS installed, configured to forward, no
local zones) Can it be adjusted? I know it can be
manually cleared via "dnscmd /clearcache" or via the MMC.
I would rather have it maintain itself.

Thanks much in advance
 
Reply With Quote
 
 
 
 
Jonathan de Boyne Pollard
Guest
Posts: n/a
 
      18th Jul 2003
H> What is the TTL for forward lookups cached by a Caching-Only server?

How long is a piece of string ?
 
Reply With Quote
 
Ace Fekay [MVP]
Guest
Posts: n/a
 
      19th Jul 2003
In news:0d2c01c34d48$de5089b0$(E-Mail Removed),
Hooty <(E-Mail Removed)> posted his concerns then I replied down below:
> What is the TTL for forward lookups cached by a Caching-
> Only server? (DNS installed, configured to forward, no
> local zones) Can it be adjusted? I know it can be
> manually cleared via "dnscmd /clearcache" or via the MMC.
> I would rather have it maintain itself.
>
> Thanks much in advance


It depends on the record itself wherever the record came from. Each zone
have configuration specifics, such as the TTL for records, so it's zone
specific. The max a W2k DNS will cache it, however, (if I remember right), I
believe is 7 days, to avoid some admins who put, for example, a 60 year TTL
on it, which we both know would be nuts, but that's why it limits it.

--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
--
=================================


 
Reply With Quote
 
Jonathan de Boyne Pollard
Guest
Posts: n/a
 
      19th Jul 2003
AF> The max a W2k DNS will cache it, however, (if I remember right),
AF> I believe is 7 days, to avoid some admins who put, for example,
AF> a 60 year TTL on it, which we both know would be nuts, but
AF> that's why it limits it.

7 days for ISC's BIND and Dan Bernstein's "dnscache".
1 day for Microsoft's DNS server.
 
Reply With Quote
 
hooty
Guest
Posts: n/a
 
      21st Jul 2003
I guess my "string" is 1 day "long"!!!


Thank you Jonathan and Ace
 
Reply With Quote
 
Ace Fekay [MVP]
Guest
Posts: n/a
 
      21st Jul 2003
In news:(E-Mail Removed),
Jonathan de Boyne Pollard <(E-Mail Removed)> posted his concerns
then I replied down below:
> h> I guess my "string" is 1 day "long"!!!
>
> No. As Ace said, that's the _maximum_ length that your string _could
> be_.


True.

Hooty, what's ther zone's TTL?


--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
--
=================================


 
Reply With Quote
 
Ace Fekay [MVP]
Guest
Posts: n/a
 
      23rd Jul 2003
In news:045201c35096$2529d1c0$(E-Mail Removed),
hooty <(E-Mail Removed)> posted his concerns then I replied down below:
> Thank you both for your continued help.
>
> The zone that the system is in has TTLs of 1 day or less
> for all records. I wasn't really worried about local
> stuff. I was more concerned with external records.


As we both said, the record on a TTL has to deal with any server that gets
an answer and will store it for that long, unless the record is beyond the
Max TTL of the server.


> I
> think I should have asked if there was a Maximum TTL for
> the records that are cached. In general, if MS-DNS will
> use a self imposed maximum of 1 day then I don't have to
> worry about it caching records whose owners decided to use
> longer ones.
>
> The system is going to be a multi-function box at a remote
> site over a SLOW link that is their only connection to the
> internet. They also get e-mail, database and uncommon
> shared files over the line. I'm just trying to reduce the
> duplicate traffic on the pipe. 1 day max is good and
> tells me that I won't need to schedule a script to clean
> it for where it is going.
>
> Is there a registry key that defines the max TTL for the
> server? I know there is one for the client resolver.
>
> Thanks
>


All of the DNS parameters are registry values located under subkeys of:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\parameters
MaxCacheTtl
Value: MaxCacheTtlType: DWORD
Default: NoKey (Cache for up to one day)
Function: Set maximum caching TTL.
-- Regards,AcePlease direct all replies to the newsgroup so all can
benefit.Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVPMicrosoft Windows MVP -
Active Directory-- =================================


 
Reply With Quote
 
Jonathan de Boyne Pollard
Guest
Posts: n/a
 
      23rd Jul 2003
h> I'm just trying to reduce the duplicate traffic on the pipe.

Then a far bigger worry will be HTTP traffic. DNS traffic is paltry
by comparison. Set up a caching proxy HTTP server on the end of the
pipe nearest to them, and have them use it.

h> 1 day max is good and tells me that I won't need to
h> schedule a script to clean it for where it is going.

Why would you want to, given your stated goal ? Expiring any resource
records after a maximum of 1 day _increases_ DNS traffic.

h> Is there a registry key that defines the max TTL for the
h> server?

Yes.

<URL:http://support.microsoft.com./support/kb/articles/Q198/4/08.ASP>
 
Reply With Quote
 
hooty
Guest
Posts: n/a
 
      23rd Jul 2003
Thank you, you've been a great help.

>-----Original Message-----
>In news:045201c35096$2529d1c0$(E-Mail Removed),
>hooty <(E-Mail Removed)> posted his concerns then I

replied down below:
>> Thank you both for your continued help.
>>
>> The zone that the system is in has TTLs of 1 day or less
>> for all records. I wasn't really worried about local
>> stuff. I was more concerned with external records.

>
>As we both said, the record on a TTL has to deal with any

server that gets
>an answer and will store it for that long, unless the

record is beyond the
>Max TTL of the server.
>
>
>> I
>> think I should have asked if there was a Maximum TTL for
>> the records that are cached. In general, if MS-DNS will
>> use a self imposed maximum of 1 day then I don't have to
>> worry about it caching records whose owners decided to

use
>> longer ones.
>>
>> The system is going to be a multi-function box at a

remote
>> site over a SLOW link that is their only connection to

the
>> internet. They also get e-mail, database and uncommon
>> shared files over the line. I'm just trying to reduce

the
>> duplicate traffic on the pipe. 1 day max is good and
>> tells me that I won't need to schedule a script to clean
>> it for where it is going.
>>
>> Is there a registry key that defines the max TTL for the
>> server? I know there is one for the client resolver.
>>
>> Thanks
>>

>
>All of the DNS parameters are registry values located

under subkeys of:
>
>

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\pa
rameters
>MaxCacheTtl
> Value: MaxCacheTtlType: DWORD
> Default: NoKey (Cache for up to one day)
> Function: Set maximum caching TTL.
> -- Regards,AcePlease

direct all replies to the newsgroup so all can
>benefit.Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT,

MVPMicrosoft Windows MVP -
>Active Directory-- =================================
>
>
>.
>

 
Reply With Quote
 
Ace Fekay [MVP]
Guest
Posts: n/a
 
      24th Jul 2003
In news:0b1601c35117$81f8a6c0$(E-Mail Removed),
hooty <(E-Mail Removed)> posted his concerns then I replied down below:
> Thank you, you've been a great help.
>


No prob.
:-)
--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
--
=================================


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
server caching Evgeny Microsoft C# .NET 0 18th May 2005 12:40 AM
Caching DNS Server Ben Wylie Freeware 3 3rd Apr 2005 03:31 AM
should I use a caching-only dns server ???? barabba Microsoft Windows 2000 DNS 1 16th Aug 2004 11:08 PM
server caching Jo Versmissen Microsoft C# .NET 3 16th Aug 2004 09:07 PM
Caching-Only Server =?Utf-8?B?SmVmZl9UaGVfUmVm?= Microsoft Windows 2000 DNS 2 7th Jan 2004 11:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:59 PM.