- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: System draging because of DNS issue
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
тАО04-14-2004 06:53 AM
тАО04-14-2004 06:53 AM
Well it seems that this HP-9000 with HP-UX 11.0 takes for ever to switch over to the secondary DNS server. The network guy knows little about HP-UP. So I know you guys know a lot.
My question is where do I look to verify that both DNS server are beeing seen and is there a place to set the timing on the HP for how long it looks for the the DNS server before it looks for the other one?
So where should I start looking.
Marty
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 07:05 AM
тАО04-14-2004 07:05 AM
Re: System draging because of DNS issue
e.g.
hosts: dns [NOTFOUND=continue UNAVAIL=continue] files
See the nsswtich.conf man page for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 07:05 AM
тАО04-14-2004 07:05 AM
Re: System draging because of DNS issue
/etc/resolv.conf and /etc/nsswitch.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 07:11 AM
тАО04-14-2004 07:11 AM
Re: System draging because of DNS issue
Most systems have multiple DNS servers defined in the /etc/resolv.conf file.
A quick easy fix would be to flip the order & make the misbehaving one the last one. They are searched from the top down. Change is immediate & nothing else need be done.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 07:21 AM
тАО04-14-2004 07:21 AM
Re: System draging because of DNS issue
The possible commands on hp-ux are:
nslookup
dig
This will with command options get you started.
Took a while to get this post.
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
тАО04-14-2004 07:32 AM
тАО04-14-2004 07:32 AM
Re: System draging because of DNS issue
However, my favorite method (which is a holdover from pre 11.x HP-UX which did not implement the above values -- the timeout was 30 seconds, off the top of my head) is to run a cron job every few minutes that does an nslookup for each of the nameservers listed in resolv.conf. If an unresponsive nameserver is found, move it to the end of the nameservers list in the file and the fastest responder becomes the first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 07:52 AM
тАО04-14-2004 07:52 AM
Re: System draging because of DNS issue
Here is what I changes.
/etc/nsswitch.conf
# 04/14/04 MEM Changed because hangs if Primary DNS fails
# hosts: files [NOTFOUND=continue] dns
hosts: dns [NOTFOUND=continue UNAVAIL=continue] files
/etc/initd.conf
# 04/14/04 MEM added -TCP_DELAY
telnet stream tcp nowait root /usr/lbin/telnetd telnetd -b /etc/issue -TCP_DELAY
ping, nslookup, and dig all returned what they should have. Or they do now. The changed needed to be done.
If it acts up again I will see if Bob is here first. I checked the log from last week and Bob was here then too. Never found the problem then.
/etc/resolv.conf only has the 2 name servers IPs.
/etc/hosts only has a few of my pet servers and the printers.
New question. If I restart the network services using "inetd -c', will it break the connections to the users?
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 07:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2004 07:56 AM
тАО04-14-2004 07:56 AM
Re: System draging because of DNS issue
Side note: I found the retry and retrans parameters for the resolv.conf file documented in the 3N section (man 3N resolver). They look very useful, I wonder why they aren't mentioned in section 4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2004 03:46 AM
тАО04-15-2004 03:46 AM
Re: System draging because of DNS issue
requests provide the server, by ip or name
as the second parameter to an nslookup request.
nslookup somehost dnserver
This will force that server to be used. If it isn't responding you will get an appropriate message.
Quick fix is to remove the server from the
/etc/resolv.conf file.
You might consider configuring software like
dnsmasq to provide a local DNS proxy.