- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX Secondary DNS
Operating System - HP-UX
1771354
Members
2068
Online
109005
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО09-27-2010 12:48 PM
тАО09-27-2010 12:48 PM
Hi Guys
I have on my /etc/resolv.conf this information
domain myserver.com
nameserver 10.1.1.120
nameserver 10.1.1.121
And on my /etc/nsswitch.conf, I have this
hosts: files dns
I have defined on dns 10.1.1.121 a name that isn't on 10.1.1.120, but when I try to do this on my server:
nslookup 10.1.1.150
TRY FILES
TRY DNS
10.1.1.150
Not Found
But when I try this
nslookup 10.1.1.150 10.1.1.121
Server: dns2.myserver.com
Address: 10.1.1.121
Name: server-4.myserver.com
Address: 10.1.1.150
How can I tell to HPUX that continue searching on the second DNS define on /etc/resolv.conf????
I have on my /etc/resolv.conf this information
domain myserver.com
nameserver 10.1.1.120
nameserver 10.1.1.121
And on my /etc/nsswitch.conf, I have this
hosts: files dns
I have defined on dns 10.1.1.121 a name that isn't on 10.1.1.120, but when I try to do this on my server:
nslookup 10.1.1.150
TRY FILES
TRY DNS
10.1.1.150
Not Found
But when I try this
nslookup 10.1.1.150 10.1.1.121
Server: dns2.myserver.com
Address: 10.1.1.121
Name: server-4.myserver.com
Address: 10.1.1.150
How can I tell to HPUX that continue searching on the second DNS define on /etc/resolv.conf????
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2010 01:03 PM
тАО09-27-2010 01:03 PM
Solution
You are misunderstanding the function of the server in the resolv.conf file.
The 2nd server in the resolv.conf file will only be accessed if the query to the first server times out.
From the resolv.conf man page:
"The algorithm used is: Try a name server; if the query times out, try the next and continue until all name servers have been tried, then repeat trying all the name servers until a maximum number of retries have been made."
So, if you query DNS, and the query times out, then the 2nd nameserver will be queried. BUT, if you query DNS and the DNS server has no record of the host you are looking for, then that is the result you will get.
Your DNS SERVERS need to be configured such that if one doesn't know about something it will then forward the query to the other. This is done via the "forwarders" directive in the named.conf file on your DNS server.
The 2nd server in the resolv.conf file will only be accessed if the query to the first server times out.
From the resolv.conf man page:
"The algorithm used is: Try a name server; if the query times out, try the next and continue until all name servers have been tried, then repeat trying all the name servers until a maximum number of retries have been made."
So, if you query DNS, and the query times out, then the 2nd nameserver will be queried. BUT, if you query DNS and the DNS server has no record of the host you are looking for, then that is the result you will get.
Your DNS SERVERS need to be configured such that if one doesn't know about something it will then forward the query to the other. This is done via the "forwarders" directive in the named.conf file on your DNS server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2010 01:13 PM
тАО09-27-2010 01:13 PM
Re: HPUX Secondary DNS
Thank You Patrick
For clarify me.
For clarify me.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP