- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Two DNS Servers
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2000 03:00 PM
11-30-2000 03:00 PM
Thanks,
Michelle Hames
Xtra Corp
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 04:44 AM
12-01-2000 04:44 AM
Re: Two DNS Servers
you should list all your dns servers (in order in the /etc/resolv.conf file):
#echo "domain yourlocal.domain.com" > /etc/resolv.conf
#echo "search yourlocal.domain.com" >> /etc/resolv.conf
#echo "nameserver AAA.AAA.AAA.AAA # first DNS server" >> /etc/resolv.conf
#echo "nameserver BBB.BBB.BBB.BBB # second DNS server" >> /etc/resolv.conf
#echo "nameserver CCC.CCC.CCC.CCC # third- internet- DNS server" >> /etc/resolv.conf
The resolver will attempt to look up an internet address using the first dns server, and when it fails (after the timeout) it will go to the next, and if that fails, it will go to the third (ie. the internet dns server)
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 05:15 AM
12-01-2000 05:15 AM
Re: Two DNS Servers
I agree with Kofi, apart from the following fact: the first line 'domain...' is useless (I believe)
In man 4 resolver, the following is stated:
"The domain and search keywords are mutually exclusive. If more than one instance of these keywords is present, the last instance overrides."
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 05:47 AM
12-01-2000 05:47 AM
SolutionIf the request fails it will *not* try the 2nd (or the 3rd) DNS server.
You need to setup your internal servers to forward queries to the "external" DNS server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 05:50 AM
12-01-2000 05:50 AM
Re: Two DNS Servers
I believe a DNS client can only query a single DNS server at a time. The only benefit to having multiple DNS servers in your /etc/resolv.conf file is that if your primary (or secondary) DNS server is down or unavailable, your system can still proceed using the secondary (or tertiary) DNS server.
You can instead configure your two internal DNS servers to forward requests that they cannot service by using the "forwarders" directive. Take a look at:
http://www.isc.org/products/BIND/docs/bog-4.9.4/bog-sh-5.html#sh-5.1.7
for additional information.
I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 06:32 AM
12-01-2000 06:32 AM
Re: Two DNS Servers
In your situation, both your primary and secondary servers need to have your 'internet' dns server as the first server on the list to query. The next two servers should be something external; the best two are probably the dns servers that your ISP provides. Your client machines should only list your primary and secondary servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 07:57 AM
12-07-2000 07:57 AM
Re: Two DNS Servers
I'm sorry I didn't get to answer your question in my thread below. Belene had the right answer. I'll summerize what did below:
In /etc/resolv.conf list your two internal dns servers:
nameserver primary
nameserver secondary
In the /etc/named.boot file add an entry to "forward" dns requests that can not be resovled internally to an external server
forwarders ipaddr; ipaddr
List the ipaddr twice to avoid timeout issues.
This is documented in DNS and BIND, 3rd edition on page 245
Thanks to Belene for clearing up this often mis-understood concept orignally.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 05:33 AM
01-10-2002 05:33 AM
Re: Two DNS Servers
Additional info, if your using bind9, you may add it under your two internal DNS servers.
options {
directory "/var/named";
forwarders{
};
Thsnks,
joks