Dns


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Dns
# 1  
Old 06-29-2001
Question Dns

Greetings to all,

I have not been in a unix environment for many years, but I am back.
Question is regarding how to setup or check how it's configured is DNS on a SPARCstation 20 runing SunOS 4.1.4 2 sun4m

I have a DNS server on the network and would like the sun box to use it for it's name resolution.

Also with this version of OS can the box be setup to use both a host file and dns?

Your help is greatly appreciated,

Don
# 2  
Old 06-29-2001
Point the machine to your DNS server using the resolv.conf file:

domain [domain_here]
namserver [nameserver_here]

You can have a number of nameservers, it will query in the order they are given in this file.

Yes you can use different name resolution mechanisms, the nsswitch.conf covers this:

hosts: files dns

This would query the hosts files and then go to DNS, if you reverse the entries then the opposite would be true. Additional syntax is available for this file to allow you to sepecify the behaviour of name resolution when one source is not responding, or does not hold the answer, its all self explanatory.

By the way this sounds very familiar to another couple of questions answered here. Smilie Searching next time will give you a quicker answer!

Regards.
alwayslearningunix
# 3  
Old 06-29-2001
if you look a few topics down you will see an exact copy of your question. Please use the search funtion by keyword or a string of keywords.
# 4  
Old 06-29-2001
Thanks, I have setup both the resolv.conf and nsswitch.conf files.

but I cant ping anything using a FQDN for a node on our local net. I have confirmed the DNS record exists on the DNS server.

I haven't done a reboot since creating the nsswitch.conf file, is this required before it will work?

BTW I tried searching the forum but the query must be 4 char in length thus DNS would not fly.

Any other thoughts?
# 5  
Old 06-29-2001
hup the inamed daemon to re read the config files.

another thing to try.

do an nslookup on the unix machine your trying to set this up on.

1) do you connect to a dns server?
a) if not then there ovestly a problem w/
a1) your nic/network connection
a2) your dns server

2) you can connect but
a) you con only do one way resolution ie: ip to name but not name to ip
a1) the host entries are set up incorectly on the dns server
b) you can not do any name resolution
b1) there is not entry in the dns tables

Last edited by Optimus_P; 06-29-2001 at 01:35 PM..
# 6  
Old 06-29-2001
Sending a HUP signal on the local machine to the named daemon is not necessary since it is a client and unless answering queries should not even have named running.

Try a few networking troubleshoots, make sure you can ping via IP address, try connecting to the name server using nslookup and see if it will return queries, if you cant connect then something is blocking your path, keep in mind DNS typically queries on port 53, do you have any rules in for this? If you can connect to the name server but cannot obtain an authoritative answer for the host then check the record on the nameserver for errors.

Generally if you are able to query a nameserver and obtain answers there is nothing wrong with the name resolution setup on the local host, there may be other networking issues, or something wrong with the nameserver records.

For the record a reboot is not needed if modifications are made to nsswitch or resolv.conf.

Regards.
alwayslearningunix
# 7  
Old 06-29-2001
alwayslearningunix: for somethings like this it can never hurt. but you are absoulutly correct a hup is not needed.

man u guys always chim in as i am editing my posts too. whats with that? laf
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

DNS client added to DNS server but not working

Hi, We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies

2. Red Hat

dns

how do we update dns zone file entries without restarting named demon (5 Replies)
Discussion started by: abhay1983
5 Replies

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

4. Red Hat

DNS A-Record point to another DNS

Hi, I have a question on how to point the DNS server-1's A-record to second DNS server, which is DNS server-2. So, the computer can access other domain which only listed in the DNS server-2. The scenario is as follow: http://img689.imageshack.us/img689/6333/12234.png How to configure this... (4 Replies)
Discussion started by: Paris Heng
4 Replies

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

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. IP Networking

Dns

I would like to set up a DNS on my system, just to learn really, how difficult and what all is involved in the set up? How difficult? (6 Replies)
Discussion started by: jo calamine
6 Replies

8. UNIX for Dummies Questions & Answers

DNS Server help

Hi, I would like to create an internal webpage for my company that would only be viewable when connected to the VPN or internal network. I want a webpage like newsite.company.com. Is there a way to do this. We obviously already have www.company.com, but how would I go about creating the newsite.... (1 Reply)
Discussion started by: ejbrever
1 Replies

9. UNIX for Dummies Questions & Answers

Dns

I just bought a unix dedicated server from a company so that i can host websites on that server. I wanted to configure it but I have no clue :confused: as to where to start. If some one can just guide me to the right direction, i would greatly appreciate it. megnote (1 Reply)
Discussion started by: megnote
1 Replies

10. UNIX for Dummies Questions & Answers

Dns

Is there a website to go to that gives you a set of instructions to set up DNS from start to finish? I need it for a Solaris 8 box on the Intel platform side. (3 Replies)
Discussion started by: Deuce
3 Replies
Login or Register to Ask a Question