- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: DNS not failing over
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
01-17-2003 06:05 AM
01-17-2003 06:05 AM
DNS not failing over
When the primary is unavailable, the clients do not fail over the to secondary. I know the secondary server is working as I can do:
nslookup hostname secondary and it resolves just fine.
Any ideas would be great as this can stop my whole network.
Thanks
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 06:10 AM
01-17-2003 06:10 AM
Re: DNS not failing over
What does your resolv.conf look like? Both DNS servers listed?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 06:10 AM
01-17-2003 06:10 AM
Re: DNS not failing over
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 06:37 AM
01-17-2003 06:37 AM
Re: DNS not failing over
My resolv.conf has:
search ssfdns
nameserver 10.60.78.48
nameserver 10.60.78.49
I don't have .com as we are not connected to the internet.
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 06:43 AM
01-17-2003 06:43 AM
Re: DNS not failing over
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 06:46 AM
01-17-2003 06:46 AM
Re: DNS not failing over
I have 20 servers and 150 workstations, with a mix of mostly unix and some windows.
Just easier than trying to manage host files.
The dns works great except for the ability to failover the secondary.
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 06:51 AM
01-17-2003 06:51 AM
Re: DNS not failing over
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 06:52 AM
01-17-2003 06:52 AM
Re: DNS not failing over
Do you get any error messages?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 07:05 AM
01-17-2003 07:05 AM
Re: DNS not failing over
Pete,
There are no error messages.
Patrick,
That makes sense, I will give it a try this weekend.
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 07:15 AM
01-17-2003 07:15 AM
Re: DNS not failing over
You should also consider that you will have timeouts and retries, before it jumps to the second nameserver. Did you wait long enough or did you interrupt the command? With an actual libc patch, timeout and retry are configurable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 07:17 AM
01-17-2003 07:17 AM
Re: DNS not failing over
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 07:26 AM
01-17-2003 07:26 AM
Re: DNS not failing over
I was testing it last night, when I brought down my primary server, I could not ping, nslookup, and most of my systems on the network hung. (I have a lot of nfs mounts).
This all came about when the primary hung this week and everyone was unable to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 09:05 AM
01-17-2003 09:05 AM
Re: DNS not failing over
Then do a ping. Does it hang? How long does it hang (should be 5 seconds)?
If the ping doesn't come back, remove the /etc/resolv.conf and write it completely new to be sure you have no hidden characters in the file that could disturb and check again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2003 03:37 AM
01-18-2003 03:37 AM
Re: DNS not failing over
Each individual client has its own list of nameservers, which must have both DNS servers in order for the client to failover (the servers' /etc/resolv.conf doesn't effect this). For Unix clients this is in /etc/resolv.conf (using the techniques others have already mentioned), but Windows clients are a bit trickier:
A Windows client can get its list of DNS servers via DHCP (highly recommended) or by manual configuration of TCP in the Network Control Panel. Note that there are some versions of Windows have slight differences in all of this.
To check what the effective DNS settings are on a Win9x (Win95, Win98, or WinME), run winipcfg:
Start->Run winipcfg
Then click on the "More Details" Button and you'll see network settings including the first DNS server. Click the "..." button next to the DNS server to switch it to display the next DNS server on the list.
On NT derived systems (WinNT, Win2000 and WinXP), open a command window and run the command "ipconfig" or "ipconfig /all". This will list all of the current settings.
Lastly, note that the DNS timeouts on some implementations can be fairly long (30-90 seconds) before it goes on to the next server.
Good Luck,
-Scott-
PS-
One especially nice thing about using DHCP to hand out network parameters is that you can easily change all of your clients by making a single change on the DHCP server and letting the clients acquire them by releasing and renewing (with the commands above or by rebooting). You don't have to go around to each system and change it by hand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2003 01:49 PM
01-18-2003 01:49 PM
Re: DNS not failing over
DNS is a CRITICAL network service and performance depends very heavily on a responsive server. If the server is not reliable, EVERY computer using that server is at risk. If you cannot make the DNS server rock solid, then don't use it for local requests. Instead, create an nsswitch.conf file that uses /etc/hosts first and DNS as a second choice.
Put the critical systems into /etc/hosts. While it will be a pain to create the dozen or two entries, it will be the same file for all Unix and PC boxes--and no network administrator would keep changing IP addresses of production systems anyways. The DHCP clients are almost always clients so their IP address isn't needed very often. If you have DHCP coupled with a dynamic DNS server, take a look at either a more reliable DNS server or permanent IP addresses given out by the DHCP server.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2003 12:04 AM
01-19-2003 12:04 AM
Re: DNS not failing over
As far as Unix boxes go, you should be able to get that to work with the continue directive in nsswitch.conf file.
Steve
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
01-20-2003 05:40 AM
01-20-2003 05:40 AM
Re: DNS not failing over
The way they handle timing out and failing over is certainly different compared to *nix systems.