*BSD News Article 51343


Return to BSD News archive

Newsgroups: comp.unix.bsd.bsdi.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!vtc.tacom.army.mil!news2.acs.oakland.edu!newsxfer.itd.umich.edu!news.mathworks.com!tank.news.pipex.net!pipex!oleane!jussieu.fr!math.ohio-state.edu!usc!sdd.hp.com!hp-pcd!news1.boi.hp.com!dragon
From: dragon@boi.hp.com (The Green Dragon)
Subject: Re: multiple domains
Sender: news@boi.hp.com (Boise Site News Server)
Message-ID: <DEu357.Btp@boi.hp.com>
Date: Wed, 13 Sep 1995 07:51:06 GMT
Reply-To: dant@hpbs1847.boi.hp.com
References: <42o2i7$3u1@allnews.infi.net> <435jjq$aos@news.cais.com>
Nntp-Posting-Host: hpbs1847.boi.hp.com
Organization: Hewlett-Packard / Boise, Idaho
X-Newsreader: TIN [version 1.2 PL0.9]
Lines: 38

Jim Sloan (jsloan@livnet.com) wrote:
>    Very simple operation for BSD or almost any *nix.  DNS requires either a 
> complete DNS lookup or you must make a complete address in your domain.db, ie. 
> jericho.com.	IN 	A	204.68.192.3
> (don't forget the . after the com, otherwise it comes out 
> jericho.com.tethys.net)

I have this same problem.  I added the line just as you said, but still get
an error.  Our domain is cyberhighway.net.  I'm trying to add upperhand.com
as address 205.139.62.254.  This is the line I added to domain.db:

upperhand.com.        IN      A       205.139.62.254

When I do nslookup I get:

Server:  host-1.cyberhighway.net
Address:  205.139.62.1

*** host-1.cyberhighway.net can't find upperhand.com: Server failed

I also added the following line to reverse.db:

254             IN      PTR     upperhand.com.

which allows me to do "nslookup 205.139.62.254" and have it return the
proper data.

Also, where is documentation on setting up the revers ARP?  I can do an 
"nslookup 205.139.62.254" from our domain, but from another domain I get:

Name Server:  hpcsos.col.hp.com
Address:  15.255.240.16

*** hpcsos.col.hp.com can't find 205.139.62.1: Non-existent domain

Thanks for any help,

Dan T.