LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 02-26-2007, 11:37 PM   #1
noir911
Member
 
Registered: Apr 2004
Location: Baltimore, MD
Posts: 681

Rep: Reputation: Disabled
multiple DNS entries to /etc/resolv.conf


I currently have 7 DNS servers (using split DNS) which I need to put
in my resolv.conf.

I did put:

nameserver dns1
nameserver dns2
nameserver dns3
search dns4
search dns5

But it doesn't seem to pick up the DNS servers (do I need to restart network?). Do I need to do anything else to add all my dns servers in /etc/resolv.conf?
 
Old 02-26-2007, 11:43 PM   #2
the_gripmaster
Member
 
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 353

Rep: Reputation: 38
use IP addresses instead of dns1, dns2...

you may also like to edit /etc/host.conf and change the order how hostnames are resolved

Last edited by the_gripmaster; 02-26-2007 at 11:44 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
resolv.conf deletes nameserver entries Mirkridian Linux - Wireless Networking 1 02-19-2007 01:59 AM
Issue with resolv.conf : Multiple DNS with two NIC's lank23 Linux - Networking 4 01-30-2007 09:38 PM
DNS Hosts.conf or resolv.conf problem mac_casey Suse/Novell 0 03-26-2006 09:21 AM
entries in the /etc/resolv.conf ! prabhatsoni Linux - Networking 4 01-28-2006 04:52 AM
dns server and /etc/resolv.conf freeosfreesoul Linux - Laptop and Netbook 2 09-02-2005 06:45 PM


All times are GMT -5. The time now is 07:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration