- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Strange behavior on resolv.conf file !!
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
тАО11-16-2010 09:00 AM
тАО11-16-2010 09:00 AM
I have an strange behavior on my hpux servers. We have 2 dns servers defined into the resolv.conf file, but today one of them fails, and my users start to call me with problems about ftp hangs, problems with the resolution names, etc,etc.
This is the content of my resolv.conf file:
search banco.gfi.mx seguros.gfi.mx gfi.mx portalgfi.mx
nameserver 146.219.220.196 # DNS1
nameserver 146.219.244.102 # DNS2 ---> FAILS
my quick solution now, was to comment the second dns entry and all the problems disapear.
search banco.gfi.mx seguros.gfi.mx gfi.mx portalgfi.mx
nameserver 146.219.220.196 # DNS1
#nameserver 146.219.244.102 # DNS2
Some idea about this strange behavior ??
Regards.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2010 10:03 AM
тАО11-16-2010 10:03 AM
Re: Strange behavior on resolv.conf file !!
Also read up on the resolv.conf man page... see the retry and retrans options.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2010 10:26 AM
тАО11-16-2010 10:26 AM
Re: Strange behavior on resolv.conf file !!
/etc/nsswitch.conf controls how DNS goes to secondary DNS entries.
It needs to be looked at.
More basically, make sure you can pint all the name servers.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2010 12:02 PM
тАО11-16-2010 12:02 PM
Re: Strange behavior on resolv.conf file !!
#
# /etc/nsswitch.files:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] files [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
Do you have some recomendation or maybe has a lot of unnecessary options for the hosts entry ??
Regards !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2010 12:12 PM
тАО11-16-2010 12:12 PM
Re: Strange behavior on resolv.conf file !!
You don't need to specify these default policies there. Just mentions as
hosts: dns files
or simply
hosts: dns
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2010 02:37 PM
тАО11-16-2010 02:37 PM
Re: Strange behavior on resolv.conf file !!
Regards ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2010 03:03 PM