- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Issues with DNS resolution
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
Discussions
Discussions
Forums
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
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
тАО01-10-2002 10:49 PM
тАО01-10-2002 10:49 PM
Any ideas?
Thanks
Mo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2002 11:17 PM
тАО01-10-2002 11:17 PM
Re: Issues with DNS resolution
The domain name of both the DNS servers should be the same. other wise /etc/resolv.conf should look like
domain_name1
ip of the first DNS server
domain_name2
ip of the second DNS server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2002 11:17 PM
тАО01-10-2002 11:17 PM
Re: Issues with DNS resolution
you have to check your /etc/nsswitch.conf for the hosts entry. If you have more than on dns servers configured, you also need to make sure that the second dns server is used.
Set NOTFOUND=continue. My hosts entry in the /etc/nsswitch.conf looks like:
hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=continue UNAVAIL=continue T
RYAGAIN=continue] dns
which works fine with 2 dns servers configured.
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2002 11:38 PM
тАО01-10-2002 11:38 PM
Re: Issues with DNS resolution
Also, my nsswitch.conf does have the entries as mentioned in the above response (Stephan's response).
I can also enter nslookup (without any host name) and then manually change to the secondary DNS server using the "server x.y.z.a" command and then enter the required node name. This returns the correct result.
Could it perhaps be that I require an OS patch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2002 11:54 PM
тАО01-10-2002 11:54 PM
Re: Issues with DNS resolution
Hi again
SAM-->Network communication-->DNS(Bind)-->DNS Resolver-->Action--> Specify the name servers in Querry order you like.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2002 12:21 AM
тАО01-11-2002 12:21 AM
Re: Issues with DNS resolution
I would first rename the resolv.conf and recreate it using SAM. This will make sure that the new created file has the correct format.
If this doesn't work do the same with the nsswitch.conf.
If it's still not working, feel froo to post those files here.
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2002 01:49 AM
тАО01-11-2002 01:49 AM
Re: Issues with DNS resolution
I have tried Stefan's suggestion of recreating the files via SAM and this did also not work.
Thanks
Mo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2002 01:57 AM
тАО01-11-2002 01:57 AM
Re: Issues with DNS resolution
What happens if you change the hosts line in your nsswitch.conf from
dns [blabla] files
to
files [blabla] dns
?
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2002 02:01 AM
тАО01-11-2002 02:01 AM
SolutionThe only solution to this problem is to fix the configuration of the name servers so that they are both able to resolve all names. If both servers are looking after the same zones why would you want to have different names in each?
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2002 02:07 AM
тАО01-11-2002 02:07 AM
Re: Issues with DNS resolution
Thanks for all the input.
Regards
Mo