DNS on Solaris 9


 
Thread Tools Search this Thread
Operating Systems Solaris DNS on Solaris 9
# 1  
Old 09-09-2003
Error DNS on Solaris 9

How do I set the Primary and secondary DNS name server for a Sparc IIi running Solaris 9. I have already put them in the resolv.conf file but they still do not work.
# 2  
Old 09-09-2003
Maybe your nsswitch.conf file is wrong. There is a nsswitch.conf man page.
# 3  
Old 09-12-2003
Smilie Is it possible for you to send an entries of resolv.conf and nsswitch.conf also please try the following command from any client machine:-

nslookup <domainname>

and let me know what's the message you are getting
# 4  
Old 09-12-2003
..............

# echo "nameserver 1.1.1.1 \nnameserver 1.1.1.2" > > /etc/resolv.conf

# vi /etc/nsswitch.conf
hosts: files dns

# pkill -HUP inet


greetings Preßy
# 5  
Old 09-16-2003
It is on an Ultra 5 workstation that I bought off ebay. There are no client machines. I will check the nsswitch.conf and see if it works.
# 6  
Old 09-21-2003
make sure you have the following done:

1) /etc/resolv.conf

domain xxxxxxx
nameserver xxxxxxxx
nameserver xxxxxxxx (if available)

fill in the "xx"'s.

2) Then check /etc/nsswitch.conf
hosts: files dns


3) If one doesn't exist then create /etc/defaultrouter

*
24.33.x.x (only entry will be your default router)
*

4 ) reboot

you should be good to go................(step 4 can be bypassed by adding a static route if you can't reboot)

Hope this helps.....good luck...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to add new Solaris client IP into Solaris 10 DNS server?

Hi, We just built a new Solaris 10 zone. And would like to add it to our DNS server. Its also Solaris 10. Please let me know how can I get the IP resolved using this DNS server. I added entry into zone config file but not working. I did restarted the DNS services. And also added nameserver name... (5 Replies)
Discussion started by: snchaudhari2
5 Replies

2. Solaris

Solaris 10 - DNS / Issues / Help

Hi all Long time no speak, I hope you are all well. Im looking at a DNS issue here and reckon Igot a AD / DNS server issue elsewhere but need to rule out the configuration of my two server's first. IVe got the nameserver enteries in /etc/resolv.conf and dns in the /etc/nsswitch.conf ... (2 Replies)
Discussion started by: sbk1972
2 Replies

3. Solaris

solaris dns

Hi all, I have configured dns on solaris 10 and it is working fine but i want to add some other domains in this dns like yahoo and gmail. but i have no idea how to do this. I have added zone entry in named.conf and created a seperate zone file under /var/named/db.gmail.com. but when i use... (4 Replies)
Discussion started by: sikander
4 Replies

4. Solaris

solaris - BIND / DNS

hi all forgive my ignorance, but when IVe set up DNS Ive put in the various server details in the /etc/resolv.conf and away I go. Suddenly Ive been reading about DNS, and I need to created a /etc/named.conf file. so, my question is this. DNS, what part does the /etc/resolv.conf play in... (3 Replies)
Discussion started by: sbk1972
3 Replies

5. Solaris

DNS Services on Solaris

We need a DNS Server on DNS 10. What the best product can i buy and install ? Help me, pls. Tks all. (1 Reply)
Discussion started by: quan0509
1 Replies

6. 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

7. UNIX for Dummies Questions & Answers

DNS on Solaris 9

I installed bind 9 on Solaris 9 (intel) but don't know how to have the named service start on bootup. Is there a script hidden somewhere? (2 Replies)
Discussion started by: kiddaniels
2 Replies

8. IP Networking

Solaris DHCP and DNS

I have managed to setup my Solaris box to receive an IP number from a DHCP server. In addition, I can ping and telnet between my dhcp server and my solaris box using the IP number. However, I can't resolve addresses by name from my solaris box. In my nsswitch.conf file I have: hosts: dns ... (4 Replies)
Discussion started by: marist89
4 Replies

9. UNIX for Dummies Questions & Answers

DNS on Solaris 2.6

I just setup Solaris 2.6 on my Sparc 10 and I cannot figure out how to configure my DNS settings. I am using @home as my ISP and they assigned me two DNS servers to use and a domain. I created a "resolv.conf" file in my etc folder and added the following exactly as shown: domain... (4 Replies)
Discussion started by: jskillet
4 Replies

10. UNIX for Dummies Questions & Answers

Solaris 5.8 DNS

Allright, Thanks to http://docs.sun.com I've got the tcp/ip portion of my box working now. I can see anything I want, as long as it's got a numerical address. Does anyone know how to add just a DNS entry? like reference my dns server, and configure my host name? (1 Reply)
Discussion started by: veitcha
1 Replies
Login or Register to Ask a Question