The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
su (switching to other user) bjagadeesh Shell Programming and Scripting 1 05-20-2008 11:27 AM
Switching between users thell SUN Solaris 1 10-22-2007 10:18 AM
Switching the active pts? tspicher UNIX for Dummies Questions & Answers 4 06-25-2007 08:52 PM
Switching SAN storage myloginid Filesystems, Disks and Memory 1 04-22-2006 10:03 PM
switching directories in C owijust High Level Programming 1 01-23-2006 12:09 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 4.00 average. Display Modes
  #1 (permalink)  
Old 06-17-2008
ortsvorsteher ortsvorsteher is offline
Registered User
  
 

Join Date: Aug 2001
Location: germany, bavaria
Posts: 48
Switching from one DNS to another

Hi all,

we have running some linux servers with sles9 and we have some problems with our dns servers. Sometimes they don't like to work. However, is there a parameter to enable faster switching between two ore more dns servers?

Thx for your help in front

Regards

frank
  #2 (permalink)  
Old 06-17-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,323
add more DNS servers in /etc/resolv.conf file. They will be probed in order of appearance in case of failure. As in :
# the ones you're using primary :
10.101.1.5
10.101.1.6
# and then the backups :
192.168.2.1
192.168.2.2
# As a side note - it's recommended by RFC that DNS servers should not reside in the same subnet, in case of network failure.
  #3 (permalink)  
Old 06-17-2008
ortsvorsteher ortsvorsteher is offline
Registered User
  
 

Join Date: Aug 2001
Location: germany, bavaria
Posts: 48
Quote:
Originally Posted by sysgate View Post
add more DNS servers in /etc/resolv.conf file. They will be probed in order of appearance in case of failure. As in :
# the ones you're using primary :
10.101.1.5
10.101.1.6
# and then the backups :
192.168.2.1
192.168.2.2
# As a side note - it's recommended by RFC that DNS servers should not reside in the same subnet, in case of network failure.
thx, but this is what we have. i need to know, is there an option if one of the primary dns server fails, that the switching to the next dns could make faster?
  #4 (permalink)  
Old 06-18-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,323
You want to make it faster ? Consider implementing DNS load balancing solution, there are few available on the net, I believe.
  #5 (permalink)  
Old 07-29-2008
shanedawg shanedawg is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 1
check the man page for resolv.conf

It has entries in there for "timeout" and "attempts"

adding these should help your dns clients roll to the next server more quickly if the primary goes down.
  #6 (permalink)  
Old 08-14-2008
jamison_utter jamison_utter is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 11
ortsvorsteher
The DNS timeout value is normally controlled by the client, thus an HA solution would be your route. Nothing you do on the server side (as far as configuration) can change that, and as far as ordering them? Well it will try each attempt, then fail and go to the next server, each time.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:21 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0