Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-26-2007, 11:37 PM   #1
Registered: Apr 2004
Posts: 682

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
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

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.


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

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 / openSUSE 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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:09 PM.

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