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 192.168.1.2, 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
Now, don't forget another important file:
/etc/nsswich.conf
this file contains the searching priority, whether the system should consult DNS server, or NIS, or NIS+, or local file...and so forth.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. IP Networking
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
3. 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 *.example.com gets sent to exmaple.com.
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
4. UNIX for Advanced & Expert Users
Hello,
I have a question about dns file zone.
Every zone file begins like:
@ 86400 IN SOA ns1.website.com. admin@website.com. (
It means that name server ns1 is responsible for this zone.
At the ending I can add the records like
mysite.com IN A 1.2.3.4
So it will... (2 Replies)
Discussion started by: mirusnet
2 Replies
5. UNIX for Advanced & Expert Users
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. Red Hat
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
7. Solaris
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: h@foorsa.biz
3 Replies
8. Solaris
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: sandeep.tk
0 Replies
9. Red Hat
Gurus
I have configured bind 9 on Red hat EL 6.4, it can resolve from hostname i.e from domain name (like cnn.com, bbc.com)but through IP its shows following error. Need your expert opinion to solve it.
error
84.23.97.31
Server: 192.168.31.24
Address: 192.168.31.24#53
** server can't... (1 Reply)
Discussion started by: smazshah
1 Replies
LEARN ABOUT ULTRIX
resolv.conf
resolv.conf(5) File Formats Manual resolv.conf(5)
Name
resolv.conf - resolver configuration file
Description
The resolver configuration file, contains information that the resolver routines read the first time they are invoked by a process. The
resolver file contains ASCII text and lists the name-value pairs that provide various types of resolver information.
The file is required if your system is running BIND. This file must contain the BIND domain name for the local area network. If your sys-
tem is a BIND client, this file must also contain nameserver entries.
There are two entry formats for the file:
domain binddomain
This line specifies the default domain to append to local host names. If no domain entries are present, the domain returned by
after the first dot (.) is used. If the host name does not contain a domain, the root domain is assumed.
nameserver address
In this entry, the address is the IP address, in dot notation, of the BIND server that should be queried to resolve host name and
address information. You should have at least one name server listed. Two or more name servers reduces the possibility of inter-
rupted BIND service in the event that one of the servers is down. You can list up to (10) name servers. If more than one server is
listed, the resolver library queries you to try them in the order listed. If no name server entries are present, the default is to
use the name server on the local machine.
The algorithm used is to try a name server, and, if the query times out, to try the next, until out of name servers or the query is
resolved. The last step is to repeat trying all the name servers until a maximum number of retries has been made or the query has
been resolved.
The name value pair must appear on a single line, and the keyword or must start each line.
Examples
The following is an example of a file:
;
; Data file for a client
;
domain cities.us
nameserver 128.11.22.33
Lines beginning with a semicolon (;) are comment lines.
Files
See Also
gethostname(2), resolver(3), named(8)
Guide to the BIND Service
resolv.conf(5)