solaris - BIND / DNS

Thread Tools Search this Thread
Operating Systems Solaris solaris - BIND / DNS
# 1  
Old 08-04-2009
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 it, and what does BIND / named.conf do ??

Im assuming that resolv.conf resolves the DNS query to a server higher up in the structure, that may be able to answer what the ip / name is.

If I was running named.conf, then Im assuming Im the hiigher up server and have the details of all hosts in my named.conf ??

Is this correct ?

So, BIND uses named.conf and resolv.conf ?

# 2  
Old 08-04-2009
It is unclear what you are wanting to do:
Set-up a DNS server or just configure your machine as a DNS client ?
# 3  
Old 08-04-2009
1. /etc/resolv.conf should contain the nameserver ( i.e. the DNS server address, where searching should go). This is present in both DNS clients and servers.

2. /etc/named.conf

this file is on the DNS server, and it contains names of files that contains host-to-name mappings database.

For example, when you query the hostname of an ip such as, you go the DNS server (the address of which is on resolv.conf file), then on that server the name of the file that contains the answer should be in named.conf Smilie

Now, don't forget another important file:


this file contains the searching priority, whether the system should consult DNS server, or NIS, or NIS+, or local file...and so forth.
# 4  
Old 08-05-2009
Sunfire, your like my own personal solaris guru :-)

The point of this thread wasnt how I do something, but more asking what the files / purpose is. :-)

Im used to setting up clients to use a DNS server, i.e. resolv.conf, but have never setup a DNS server, i.e. the named.conf. I had a suspicion that named.conf is the file which contains all the hosts's details, for DNS resolution requests.

Cool, I was right, so thanks Sunfire.

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Bind (DNS) error on EL 6.4

Gurus I have configured bind 9 on Red hat EL 6.4, it can resolve from hostname i.e from domain name (like, through IP its shows following error. Need your expert opinion to solve it. error Server: Address: ** server can't... (1 Reply)
Discussion started by: smazshah
1 Replies

2. Solaris

DNS Bind Upgradation in Solaris 10

Hi All , My current Bind version is BIND 9.6.1 and I want upgrade the same to BIND 9.8.1-P1 ,Can any one provide the steps to do the same ? Solaris Version : 5.10 Generic_144488-11 sun4v sparc Thanks , (0 Replies)
Discussion started by:
0 Replies

3. Solaris

BIND DNS Server issue on Solaris 10

Hi all, I have some sort of problem with BIND DNS server my environment as follows. bash-3.00# cat /etc/release Solaris 10 6/06 s10s_u2wos_09a SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to... (3 Replies)
Discussion started by:
3 Replies

4. Red Hat

Public dns bind 9

Hi Friends, I need help to understand how to publish my public dns to internet. I have configured bind 9 on thel5 server and it working fine. My question is, as i donot want to expose my orginal hostname to outside and my zone files are configured with the NS recorde of the orginal hostname,... (5 Replies)
Discussion started by: arumon
5 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. UNIX for Advanced & Expert Users

DNS Bind

Hello, I have a question about dns file zone. Every zone file begins like: @ 86400 IN SOA ( It means that name server ns1 is responsible for this zone. At the ending I can add the records like IN A So it will... (2 Replies)
Discussion started by: mirusnet
2 Replies

7. UNIX for Dummies Questions & Answers


Hi, Does anyone know anything about DNS/BIND? I need to tell my dns for every sub-domain foward on to my main domain.... so * gets sent to Any ideas. I've looked at bind on my machine and theres about 10 files....i just don't know where to put the rule or exactly... (2 Replies)
Discussion started by: elduderino
2 Replies

8. IP Networking

Question on DNS/BIND

I have set up a BIND server running on Redhat AS 3.0 and the question I have is that I can point my laptop to that server and resolve all the hosts I have put in my .zone file but for the life of me I can resolve any outside information. I have verified the server can talk to the world. Any hints... (2 Replies)
Discussion started by: Acleoma
2 Replies

9. UNIX for Dummies Questions & Answers

BIND DNS replication

I have a RedHat 7.1 box that we use for DNS in our System Engineering lab. We have a Windows 2000 box that handles DNS in our main office. The Microsoft Admin and I have been given the task of making both of our domains accessible to each other. I had originally made his domain my forwarder, so... (5 Replies)
Discussion started by: Jody
5 Replies
Login or Register to Ask a Question