RESOLVER(5) File Formats Manual RESOLVER(5)NAME
resolver - resolver configuration file
The resolver configuration file contains information that is read by the resolver routines the first time they are invoked by a process.
The file is designed to be human readable and contains a list of name-value pairs that provide various types of resolver information.
On a normally configured system this file should not be necessary. The only name server to be queried will be on the local machine and the
domain name is retrieved from the system.
The different configuration options are:
followed by the Internet address (in dot notation) of a name server that the resolver should query. At least one name server should
be listed. Up to MAXNS (currently 3) name servers may be listed, in that case the resolver library queries tries them in the order
listed. If no nameserver 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, try the next, until out of name servers, then repeat trying all the name servers
until a maximum number of retries are made).
domain followed by a domain name, that is the default domain to append to names that do not have a dot in them. If no domain entries are
present, the domain returned by gethostname(2) is used (everything after the first `.'). Finally, if the host name does not contain
a domain part, the root domain is assumed.
The name value pair must appear on a single line, and the keyword (e.g. nameserver) must start the line. The value follows the keyword,
separated by white space.
SEE ALSO gethostbyname(3N), resolver(3), named(8)
Name Server Operations Guide for BIND
4th Berkeley Distribution September 14, 1987 RESOLVER(5)
Check Out this Related Man Page
RESOLV.CONF(5) File Formats Manual RESOLV.CONF(5)NAME
resolv.conf - Domain Name System resolver configuration
The /etc/resolv.conf is used to configure how the host will use the Domain Name System to resolve hostnames to IP addresses. It may con-
tain these two lines:
The nameserver entry tells the IP address of the host to use for DNS queries. If it is set to 127.0.0.1 (which is the default) then the
local name daemon is used that may use the /etc/hosts database to translate host names. You normally only need a nameserver entry if the
name server is at the other side of a router. The default nonamed name server can't look beyond the local network.
The domain entry tells the default domain to use for unqualified hostnames. This entry is usually not given in which case the domain of
the local host is used.
The long version of this story can be found in resolver(5).
/etc/resolv.conf DNS resolver configuration file.
SEE ALSO resolver(5), hosts(5), nonamed(8), boot(8).
Kees J. Bot (firstname.lastname@example.org)
I,am trying syncronise clock, but i can´t do it
In the server client put:
/etc/ntp.conf -> server namehost
-> resolver /etc/xntpres
/etc/tcp -> uncoment lines when say Xntpd
In the server as server clock:
/etc/ntp.conf -> peers hostname
if... (1 Reply)
I am running Solaris 2.6 Server on a Sparc 10 and I was wondering how I can manually specify a DNS server to resolve hostnames. Any help will be greatly appreciated.
And also I have created a file in the /etc dir named defaultrouter and added th IP address of my router, but when I ping another... (15 Replies)
I had a query on the usage of $0 in shells. I would appreciate any assistance in this.
We moved from a sun solaris server to a linux server. I ran 2 different pieces on these servers and in one case, the outputs didnt change and in the other case, the outputs were different. The 2... (3 Replies)
A quick question during a audit this was determined to be a security issue
In the resolv.conf there is a “.” At the end of the domain name
I which to understand the function or significance of the .
thk (3 Replies)
i want to print the mail exchange servers for a domain using the code below, the problem is that i just get the memory locations (?) of the elements in the output, instead of the mx servers.
I really tried to find a solution, but i guess that i just don't get it (objects, OOP etc).. :)
... (2 Replies)
I have configured DNS like the below but I faced another issue !
When I ping any Host from the server itself its replaying me the IP of that hosts that's mean DNS is working fain
but when I try to ftp or telnet... (8 Replies)
We have about 5000 unix servers and currently loghost is listed in the /etc/host on all of the 5000 servers. Since the loghost server is not using SAN storage, the server was never implemented in GeoVLAN either.
We are going to implement DR instance for loghost with local storage ( as advise by... (2 Replies)
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)
I would like to ask if somehow i missed some files in configuration of joining a domain below is the procedure i take:
host: file dns
search... (3 Replies)
I have these entries in the /etc/esolv.conf:
When I use 'dig' or 'nslookup' command, like 'dig yahoo.com' it uses the localhost as the server.
I... (2 Replies)
Internet query not working anymore with bind , i am not using forwarder dns server .
resolv.conf file =>
named.conf file =>
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS... (8 Replies)
I have a RHEL 5 server of 64 bit . I have disabled the firewalls and added the name server also in resolv.conf.
I want to connect to internet inorder to link the machine with Linux Network.
# I could not connect to any website from this server for ex
ping google.com is not... (8 Replies)
I have a Windows based Domain (abc.com)servers like:
On all my Linux servers (/etc/resolv.conf) have a following DNS servers entries:
But when i ping my Domain (abc.com), it... (5 Replies)
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)