[comp.unix.questions] named problem

bware@csm9a.UUCP (Bob Ware) (08/17/89)

I am trying to get 'named' running as a primary domain server on a
Micro-Vax running Ultrix 3.0.

1. It runs ok after executing: hostname ccncsm.Mines.Colorado.EDU.

2. But after executing: hostname ccncsm
I have not been able to find the right combination to get it running ok.
Under these conditions, the 'nslookup' command consistently gives:

*** Can't find initialize address for server : Non-existent domain

I tried to find where this error message comes from using 'strings'
on 'named', 'nslookup' and 'libc.a' to no avail (we don't have source
code).

Does the system hostname have to be the fully qualified domain name for
'named' to work?

If anyone has a clue what I am doing wrong, I would appreciate e-mail on
the subject.

Bob Ware, Colorado School of Mines, Golden, Co 80401, USA
(303) 273-3987
bware@csm9a.colorado.edu. bware@mines.bitnet isis!csm9a!bware
ucbvax!nbires!udenva!csm9a!bware

rbj@dsys.ncsl.nist.gov (Root Boy Jim) (09/01/89)

? From: Bob Ware <bware@csm9a.uucp>

? I am trying to get 'named' running as a primary domain server on a
? Micro-Vax running Ultrix 3.0.

? 1. It runs ok after executing: hostname ccncsm.Mines.Colorado.EDU.

? 2. But after executing: hostname ccncsm
? I have not been able to find the right combination to get it running ok.
? Under these conditions, the 'nslookup' command consistently gives:

? *** Can't find initialize address for server : Non-existent domain

The hostname command should use the fully qualified domain name:

	hostname ccncsm.Mines.Colorado.EDU

Also see the documentation on /etc/resolv.conf, man 5 resolver
On our sun3, we find it easiest to run with a domainname equal
to the hostname, and no /etc/resolv.conf. When we had the line

	domain ncsl.nist.gov

in our resolv.conf, we occasionally got duplicated domain names on
some hostnames: foo.ncsl.nist.gov.nist.gov.

? Bob Ware, Colorado School of Mines, Golden, Co 80401, USA
? (303) 273-3987
? bware@csm9a.colorado.edu. bware@mines.bitnet isis!csm9a!bware
? ucbvax!nbires!udenva!csm9a!bware

	Root Boy Jim and
	the GNU Bohemians

P.S. I can see it now: Mike Karels on the design of 4.3BSD: "What would
I do defferent? I'd spell resolv.conf with an `e' :-)