the reason you have files in there is cuz if dns is down and you have it in your /etc/hosts it will still resolve. also its always quicker resolveing from /etc/hosts vs dns.
you have to make sure you have the appropriate nameservers specified in the /etc/resolve.conf file.
I have just started learning Unix on Solaris and have been asked to learn DHCP, DNS and LDAP very quick in order to implement them and maintain.
Does anyone know how to do this or a decent book that will include all the above three which tells you how to install and maintain. All i have found so... (2 Replies)
Hi all,
I'm in the dark about this. I have setup a dhcp server and a DNS server. I'm confuss as to how to have DNS auto update any new clinet that the dhcp has given an ip address for. Can this be done. I think that I'm missing something in the configuration of DHCP. I was told that when a DHCPD... (3 Replies)
I asked a similar type question in the solaris forum but i think this relates closer to networking. I am trying to setup a small NIS environment that is contained within a large company network. The client machines are getting an IP from the companys' Windows DHCP server. The NIS server has a... (3 Replies)
hello
i am running my sipx server in 192.168.2.14
i would like to configure domain name and host name for this .....
can anyone tell me how to configure dns server and dhcp server so that any body both outside and inside the lan could access the sipx server by their host.domain.com name (1 Reply)
Hi to all.
Sorry for my bad english.
For pure self-educational, not professional, purposes, I am studying how to configure a server with several services operating on it.
For my experiment I'm using VirtualBox 3.1.4 on a WinXP host with 3 FreeBSD guests; one acts as a DHCP + DNS server; the... (0 Replies)
I have 2 problems. Dhcp is not setting dns and after I manually set my dns it changes to garbage.
I literally just used command to set dns which is a good copy of resolv.conf:
sudo cp /home/bob/Desktop/scripts_9-12-2011/resolv.conf /etc/resolv.confHere is a copy of my resolv.conf.
#... (5 Replies)
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)
Let's say I have a home network containing a server that acts as the resident gateway and serves dhcp and dns requests. Laptop A is frequently connected and disconnected from the network as it is used as a travel computer. Is there a secure way to make sure that whenever laptop A is connected to... (3 Replies)
Discussion started by: Zygomorph
3 Replies
LEARN ABOUT MINIX
resolvxc
RESOLV.CONF(5) File Formats Manual RESOLV.CONF(5)NAME
resolv.conf - Domain Name System resolver configuration
SYNOPSIS
/etc/resolv.conf
DESCRIPTION
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:
nameserver IP-address
domain domain-name
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).
FILES
/etc/resolv.conf DNS resolver configuration file.
SEE ALSO resolver(5), hosts(5), nonamed(8), boot(8).
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
RESOLV.CONF(5)