DNS question from DNS Noob

I currently have a SBS 2003 server with DNS serving our internal domain and forwarding unknown domain requests to our ISP's servers. This is OK until our ISP's servers go down or have problems (yes, it has happened!). What I would like to do is implement caching on our server so that even if our ISP's DNS servers go down, we can at least have some DNS functionality (albeit out of date until the ISP DNS server comes back online)

How do I go about doing this? What are the risks?
LVL 7
5t34lth_G33kAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

oBdACommented:
If your ISP is unreliable, you can just remove the forwarders completely; the DNS server will then query the root DNS servers.
0
markpalinuxCommented:
Hello,

oBda has the right answer here. You do not have to turn on caching - it is there by default.  If you look at the SOA record for a DNS zone - it tells the DNS servers how long the dns information should be cached, etc.

So there are no steps to "implement caching" - just use the DNS server built into Windows 2003 server.

If you use DNS Admin Console, turn on the advanced viewm then you should be able to see the cached data.

Some or many of the cached zones may only show NS record "name server" records, that simply means that only the name server records are still cached, any hosts or A record had expired.  

Mark
0
5t34lth_G33kAuthor Commented:
So how is it then that when our ISP's DNS servers go down, we get page cannot be displayed errors? Surely if caching is on be default, our DNS server should look to its cache when its forwarders are unavailable?
0
markpalinuxCommented:


Make sure that the Root Hints tab has the root dns servers.



When you take out the forwarders your DNS server will use root hints -

example - user tries to get to www.rmhc.com 
1) the dns query is sent to your server
2) server checks its cache
3) server check for dns forwarders - none.
4) server checks the root dns server - per the root hints tab (a-m for a total of 13) to find the DNS servers "NS record" for the specific domain the dns query is for. : gets answer that name server is - ns1.rmhc.com = x.x.x.x
5) server sends query for A "host" record to ns1.rmhc.com - gets answer www=  ip address x.x.x.x
6) server caches the NS answer and the A record
7) server sends answer to the computer that sent the query


For more look at:

How DNS query works
http://technet2.microsoft.com/WindowsServer/en/Library/0bcd97e6-b75d-48ce-83ca-bf470573ebdc1033.mspx

DNS root hints reappear after being removed from in Windows Server 2003
http://support.microsoft.com/kb/875547/en-us


Mark
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.