home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!asuvax!ncar!noao!coyote!emdisle!Mahoney
- From: Mahoney@emdisle.FIDONET.ORG (Mike Mahoney)
- Newsgroups: comp.os.os2.networking
- Subject: resolv files
- Message-ID: <220.2B4259B0@emdisle.FIDONET.ORG>
- Date: Wed, 30 Dec 92 16:44:18 PDT
- Organization: The Emerald Isle BBS, Tucson, AZ (602) 749-8638
- Lines: 41
-
- In a message of <Dec 30 12:01> (richard hajinlian) writes to All:
-
- rh>Can anyone help with the resolv/host files? what should the resolv file
- rh>look like? And on which machine(s) do they live. And if you say on the
- rh>client resolv file "nameserver 192.192...." what software do you start
- rh>on the server that will do the name lookup?
-
- There are two ways to resolve host names. The first is to have a hosts
- file on each machine that handles it. The file is made up of just the IP
- address followed by the hostname. A third optional parameter can be used
- to define an alias for the machine. This file resides in the etc directory.
-
- The second approach is to have another machine resolve names for you.
- To do this, you need a file called resolv in the directory pointed to by
- the etc environment variable. This file normally only contains two lines.
-
- domain my.domain.com
- nameserver x.xxx.xxx.xxx
-
- The first line defines your own domain name and the second defines which
- host provides name services. If you have more than one nameserver in your
- domain you can have multiple nameserver lines.
-
- It is permissible to have both a hosts file and a resolv file. That way
- if the host isn't located by the nameserver your own hosts file will be
- checked.
-
- The resolv file on the nameserver should be present but empty, and this
- machine should run the named daemon all the time to respond to queries from
- other hosts. It uses a series of files that constitute its database. The
- first is named.boot which points to the other files that make up the name-
- server's database. The other files have forward and reverse name resolution
- data in them. You can also optionally define a cached upstream nameserver
- to which higher level name requests are passed.
-
- --- msgedsq/2 2.1
- * Origin: The Emerald Isle * Tucson, AZ. (602) 749-8638 (1:300/14)
- --
- Mike Mahoney - via FidoNet node 1:300/14
- UUCP: uunet...!noao!coyote!emdisle!Mahoney
- INTERNET: Mahoney@emdisle.FIDONET.ORG
-