LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-01-2009, 05:57 AM   #1
Udhayakrishnan
LQ Newbie
 
Registered: Feb 2009
Posts: 19

Rep: Reputation: 0
Wink master DNS with caching


Hi,

I need a help in setting up a DNS which should have my server's forward entries and also caching enabled.

For ex.

If any user of my network with our DNS IP; try to access the servers of ours with the name, mydns should provide that entry from it. If the user tries to use the domain which is not available within our mydns, it should query the dns available in internet and should respond to the query of the user computer.

Kindly update me with the config info.

PS: I can setup master, slave or caching as individual but unable to setup with the above mentioned criterion.
 
Old 12-01-2009, 06:47 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Unless I miss something, this is how a dns server works. Answers the queries it's authoritative for and forwards to root servers (or forwarders if you setup forwarding) the queries for all other zones.
Anyway assuming you're using bind for your dns server, all you have to do is to add the hint "." zone, among the other zones your server is authoritative for.
Code:
zone "." {
        type hint;
        file "root.hint";
        };
You can get a fresh copy of root.hint, running:
Code:
dig @a.root-servers.net . ns > root.hint
Regards
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Slow DNS after enabling dns caching kuangchen Debian 0 04-12-2008 12:18 PM
how to configure master dns in windows2003 server and its slave dns in rhel5 suneellinux Linux - Newbie 1 04-11-2008 05:13 PM
DNS is not caching Mike Healan Mandriva 4 12-24-2004 08:53 PM
DNS still slow after installing caching DNS mooreted Linux - Networking 16 01-01-2004 12:18 AM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration