*BSD News Article 79524


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!newspump.sol.net!posts.execpc.com!crg2
From: vsite@interbrat.com (Craig Dudley)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: DNS help
Date: Mon, 30 Sep 96 03:26:34 GMT
Organization: InterBrat
Lines: 42
Message-ID: <52nffh$aj4@newsops.execpc.com>
NNTP-Posting-Host: shrubbery.execpc.com
X-Newsreader: News Xpress 2.0 Beta #0
Keyword: DNS virtual domain pointer

I'm am running bsdi with appache on a pc at home.

I'm am trying to configure my dns for a second domain.

I know DNS & Bind is the book of choice, I can not get this book
in my area for another week.  I have looked and TCP/IP unleashed and 
webmasters reference and I still can't make this work.

I have run the ifconfig and the ipaddress shows up on my table

I added to the named.boot
primary  BLA.com    BLA.com 

I copied domain.db to BLA.com (just as the BSDI man said)
My soa looks like this

@       IN   SOA   BLA.com.

(serial stuff)

        IN      NS     firstdomain.com.
bla.com         IN      A       ipaddress

In the reverse.db

(last Ip number)        IN      PTR     BLA.COM.

then I run ndc reload

When I run nslookup on bla.com it gives me an unable to locate bla.com.
When I run nslookup on the ip address it gives me a link to bla.com

I did not add anything to the resolve.conf
am I supposed to for second domain.

If anyone can help me with detailed web link on this or just the flat out 
answer that would be great.

Thanks
Craig
craig@interbrat.com