Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > DNS Server > Re: Caching question

Reply
Thread Tools Display Modes

Re: Caching question

 
 
Ace Fekay [MVP-DS, MCT]
Guest
Posts: n/a

 
      01-31-2010
"Adrian Marsh" <> wrote in message
news: o.uk...
> Hi All,
>
> I've two local DNS servers. I've noticed though that DNS lookups are
> taking quite a long time (800ms +). The server isn't a particularly busy
> server. Both are DCs. Both are configured to forward to our ISPs DNS
> servers. Both are Server 2003 Standard.
>
> I was wondering about DNS caching, and whether or not its actually enabled
> by default? I can't find any MMC gui to look at the DNS cache, or any
> stats of it. Or where to configure it and tweak the settings.
>
> I've read some MS articles about how to create a DNS caching server, but
> they just seem to say "install DNS". So if I make a server a DC too, does
> it turn off caching?? Are all MS servers caching servers by default??
>
> Thanks,
>
> Adrian



DNS caching on the server and on the workstations, are enabled by default.

If your concern is just for the TTL values, as Jonathan mentioned, you can
view the cache to look at each record's TTL values.

To view the cache in DNS, go to view, choose Advanced and drill down to the
Cache. There is nothing to tweak. Any successful queries will be cached. If
you open a record, you can see the TTL. If you close it, then reopen it
again, you can see the time left counting down. When it reaches zero, it
gets pulled.

On the workstations, run an ipconfig /displaydns and you can see what the
client side resolver has cached. Hit arrow up (to repeat the command), hit
enter and you can see it counting down.

Where does the record's TTL come from? From the DNS server that hosts the
record. You can't change it.

But I don't think this is the problem or the cause of your original concerns
about long lookup times. It's either usually due to DNS configuration, the
ISP's DNS if using forwarding, firewall blocks (ENDS0 support), or both.
Therefore it can be based on various things, but without knowing your
config, it's complete guess work. Please post the following to better
assist:

1. An unedited ipconfig /all of the server and workstation.
2 .If Forwarding is enabled. If so, what is the forwarder?
3. Any EventID# errors in the event logs of the server and the workstation.

Thank you,

--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Please reply back to the newsgroup or forum for collaboration benefit among
responding engineers, and to help others benefit from your resolution.

Ace Fekay, MVP, MCT, MCITP EA, MCTS Windows 2008 & Exchange 2007, MCSE &
MCSA 2003/2000, MCSA Messaging 2003
Microsoft Certified Trainer
Microsoft MVP - Directory Services

If you feel this is an urgent issue and require immediate assistance, please
contact Microsoft PSS directly. Please check http://support.microsoft.com
for regional support phone numbers.


 
Reply With Quote
 
 
 
 
Ace Fekay [MVP-DS, MCT]
Guest
Posts: n/a

 
      01-31-2010
"Adrian Marsh" <> wrote in message
news:weGdne6RioF36fjWnZ2dnUVZ7o-...
> On 31/01/2010 05:33, Ace Fekay [MVP-DS, MCT] wrote:
>> "Adrian Marsh"<> wrote in message
>> news: o.uk...
>>> Hi All,
>>>
>>> I've two local DNS servers. I've noticed though that DNS lookups are
>>> taking quite a long time (800ms +). The server isn't a particularly
>>> busy
>>> server. Both are DCs. Both are configured to forward to our ISPs DNS
>>> servers. Both are Server 2003 Standard.
>>>
>>> I was wondering about DNS caching, and whether or not its actually
>>> enabled
>>> by default? I can't find any MMC gui to look at the DNS cache, or any
>>> stats of it. Or where to configure it and tweak the settings.
>>>
>>> I've read some MS articles about how to create a DNS caching server, but
>>> they just seem to say "install DNS". So if I make a server a DC too,
>>> does
>>> it turn off caching?? Are all MS servers caching servers by default??
>>>
>>> Thanks,
>>>
>>> Adrian

>>
>>
>> DNS caching on the server and on the workstations, are enabled by
>> default.
>>
>> If your concern is just for the TTL values, as Jonathan mentioned, you
>> can
>> view the cache to look at each record's TTL values.
>>
>> To view the cache in DNS, go to view, choose Advanced and drill down to
>> the
>> Cache. There is nothing to tweak. Any successful queries will be cached.
>> If
>> you open a record, you can see the TTL. If you close it, then reopen it
>> again, you can see the time left counting down. When it reaches zero, it
>> gets pulled.
>>
>> On the workstations, run an ipconfig /displaydns and you can see what the
>> client side resolver has cached. Hit arrow up (to repeat the command),
>> hit
>> enter and you can see it counting down.
>>
>> Where does the record's TTL come from? From the DNS server that hosts the
>> record. You can't change it.
>>
>> But I don't think this is the problem or the cause of your original
>> concerns
>> about long lookup times. It's either usually due to DNS configuration,
>> the
>> ISP's DNS if using forwarding, firewall blocks (ENDS0 support), or both.
>> Therefore it can be based on various things, but without knowing your
>> config, it's complete guess work. Please post the following to better
>> assist:
>>
>> 1. An unedited ipconfig /all of the server and workstation.
>> 2 .If Forwarding is enabled. If so, what is the forwarder?
>> 3. Any EventID# errors in the event logs of the server and the
>> workstation.
>>
>> Thank you,
>>

>
> Thanks for the reply Ace,
>
> I'm not seeing in the MMC for DNS where you can "drill down" to see the
> cache itself. I have Advanced turned on, I can see "Event Viewer",
> "Forward Lookup Zone", Reverse, Root Hints, and Forwarders at the server
> level, but no Cache. Opening Forwarders just takes me to the configuration
> page, no cache view.
>
> I understand TTL, but I wondered if the server had a min/max cache size
> that needed changing.
>



If the DNS console is in Advanced View, you will see an additional yellow
folder called "Cached Lookups." Under this folder, you will see other
folders for the TLDs that have been successfully queried, at the top
starting with ".(Root)," and under the Root folder, you will see ".com,"
".net," and possibly numerous others. If this is empty, then no successful
queries have occured.

Just to eliminate any possibly config issues that may be causing this,
please answer the questions I've asked, below:

1. An unedited ipconfig /all of the server and workstation.
2 .If Forwarding is enabled. If so, what is the forwarder?
3. Any EventID# errors in the event logs of the server and the workstation.
4. Also be helpful the type of firewall connected to the ISP and IOS version
of the firewall software. Many older firewalls do not support EDNS0, which
will affect resolution results.


Ace



 
Reply With Quote
Reply

Thread Tools
Display Modes

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
Re: Caching question Jonathan de Boyne Pollard DNS Server 0 01-31-2010 03:15 AM
AD Site Question Chris Active Directory 7 01-26-2010 03:14 PM
Question about Upgrade version tsonka Windows Vista Installation 3 12-09-2007 09:07 PM
Question About "Hard Disk Activity" Inidicator Light Methylchloroisothiazolinone Windows Vista Hardware 2 08-03-2007 10:26 PM
question john Windows Vista Administration 2 06-07-2007 10:05 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59