two dns search with 4 nameserver

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat two dns search with 4 nameserver
# 1  
Old 07-13-2009
two dns search with 4 nameserver

Hi all,

Does someone use this kind of config on /etc/resolv.conf?

search domain1.com domain2.com
nameserver 1.x.x.x
nameserver 2.x.x.x
nameserver 3.x.x.x
nameserver 4.x.x.x

Is that going to work properly?

I heard that only 3 lines are enabled on resolv.conf. Is that true?

Thanks!
# 2  
Old 07-13-2009
I use:
Code:
domain foo.com
nameserver 0.0.0.1
nameserver 0.0.0.2
nameserver 0.0.0.2
search foo.com bar.com

For Solaris 10 a fourth nameserver prevents the search list from working, as you state for Solaris 8 it just uses the first three nameservers and ignores the fourth, I believe the latter behavior is normal for most Unixes.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bind: Can you configure multiple domains using the same nameserver

Can you add multiple domains to a nameserver without creating a new IP address? I have one IP address on my machine and have configured forward and reverse zone files. Names are resolving fine. I know I can add another domain to the named.conf file and create new forward and reverse files. what... (2 Replies)
Discussion started by: LinuxGirl
2 Replies

2. IP Networking

[Android-Networking] can't acces internet, while settings says all is ok => Routing/Nameserver prob

Hello, since a while, i have a very strange and frustrating network problem with my Huawei p6(Android 4.4.2). The ROM is "Omni Rom", i think - but it shouldn't matter. The problem is: when i try to connect through wlan (i have no mobile internet), according to the network manager of android,... (1 Reply)
Discussion started by: Palindrom
1 Replies

3. Web Development

(WHM) Primary Resolver and Nameserver confusion

Okay, I know generally how the internet works but here I am confused. Every website that I've worked on prior to this had a vendor providing Nameserver services -Meaning that I just pointed my DNS to their server and they do the rest. Now, I am confused by what the Primary Resolver is... (1 Reply)
Discussion started by: Astrocloud
1 Replies

4. HP-UX

Which nameserver is used?

Hello, i change the nameserver in the resolv.conf file and want to test the new settings. On Linux i can call nslookup and it shows the nameserver which is used: ># nslookup www.unix.com Server: XXX.XXX.XXX.XXX Address: XXX.XXX.XXX.XXX#53 Non-authoritative answer:... (3 Replies)
Discussion started by: soeren1176
3 Replies

5. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

6. UNIX for Dummies Questions & Answers

NameServer not accessible

Hi everybody I am facing a little problem with names servers. I have a VPS with Kloxo installed on it I have registered 2 name servers (i.e. ns1.domain.com and ns2.domain.com) past one month. These nameservers are not accessible yet. I have check the nameserver on internic site and they are... (3 Replies)
Discussion started by: rizwan65
3 Replies

7. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

8. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies

9. UNIX for Advanced & Expert Users

need advice on nameserver configuration

on a Red Hat server I am running name server (ns1.mynameserver.com , ns2.mynameserver.com) can anybody advice how to set my server so that it automatically forwards domains that have ns1.mynameserver.com , ns2.mynameserver.com as nameserver address to a specific url/page, without actually adding... (0 Replies)
Discussion started by: wanex
0 Replies
Login or Register to Ask a Question