This is the resolv.conf file for the desktop machine, the one that goes
out over the inet. (The x's, y's, and z's are really numbers, but I
have not listed them here.)
/etc/resolv.conf
# resolv.conf
# 08-29-02
# Can only have three servers active
# search .
# domain ampr.org
nameserver 204.xxx.yyy.1
nameserver 204.xxx.yyy.2
nameserver 204.xxx.zzz.1
# nameserver 44.56.26.11
This is the resolv.conf that resides on the bambi.ampr.org machine. I have
given it a "hint" by adding a backup, or default, domain range of ampr.org.
And, by using the 44.56.26.11 address, I am sending all domain queries to
the JNOS application to be resolved in its domain.txt file, which is a
database of names matching their respective IP (numerical) addresses.
# For Wellesley
# 08-05-00
# Search and domain are mutually exclusive!
# search .
#
domain ampr.org
#
# The local JNOS host 'machine'...
nameserver 44.56.26.11
# nameserver 44.56.26.10
#
To expand a bit on the domain key word... this will take effect after an
initial search of the .11's domain.txt file. For example, let's say you
did a ping on ka1fsb without any other notation. When this lookup fails,
the domain key word will then append the ampr.org to the ka1fsb, building
a complete domain name or FQDN, resulting in ka1fsb.ampr.org. The second
time around, this name will be found and resolved to its IP number.
A further observation might yield the conclusion that this configuration is
a most restrictive one. This system is limited to just what can be found in
the local domain.txt file. While some of these domain files are no doubt very,
very large, they cannot compete with network domain servers which have a
googleplex of names available to them, since they in turn are linked into
many other domain name server networks themselves! So in short, it is
probably better, more exhaustively comprehensive, to include an IP address
for a network domain name server, which your ISP can provide. See file
below...
Even if you use a network domain name server (IP number), you may still
keep the domain keyword and its data field, ampr.org. You may then telnet
or ping ka1fsb without the trailing ampr.org! No matter where the domain
services reside, local or network, they behave identically.
NOTE: You may also use both a local domain.txt file and an IP
reference to a network domain name service. In the example below,
the search would begin "locally" and, on fail, would procede to the network
name server(s) for a probable match.
# For Wellesley
# 08-05-00
# Search and domain are mutually exclusive!
# search .
#
domain ampr.org
#
# The local JNOS host 'machine'...
nameserver 44.56.26.11
# nameserver 44.56.26.10
#
# Possible "external" domain name server address(es)...
nameserver 204.127.129.x
nameserver 204.xxx.xxx.x
#