From owner-freebsd-newbies Thu Jan 6 19: 2:59 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from intranova.net (blacklisted.intranova.net [209.3.31.70]) by hub.freebsd.org (Postfix) with SMTP id 1B0ED157C1 for ; Thu, 6 Jan 2000 19:02:54 -0800 (PST) (envelope-from oogali@intranova.net) Received: (qmail 15526 invoked from network); 6 Jan 2000 21:59:25 -0000 Received: from hydrant.intranova.net (user80932@209.201.95.10) by blacklisted.intranova.net with SMTP; 6 Jan 2000 21:59:25 -0000 Date: Thu, 6 Jan 2000 21:55:44 -0500 (EST) From: Omachonu Ogali To: Martin Gignac Cc: Chris Manjoine , freebsd-newbies@FreeBSD.ORG Subject: Re: Primary DNS setup problems In-Reply-To: <000d01bf58a5$fbefad20$33f3acce@martingignac> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Also check your system logs for any messages from BIND/named. Omachonu Ogali Intranova Networking Group On Thu, 6 Jan 2000, Martin Gignac wrote: > I just set up a secondary BIND 8.1.2 server (on a FreeBSD machine) at the company I work for that's a slave to a primary BIND 4.9.5 running on Windows NT 4.0. > > It took all of five minutes to set up and get working, all without a hitch. I used the PROTO.localhost.rev shell script to create the localhost.rev file. After adding the zones for which it would slave, I started the thing, and it simply worked. > > My named.conf file is basically the stock one that comes with FreeBSD, with my zones added in. > > You gotta make sure you either don't have a /etc/resolv.conf file, or that /etc/resolv.conf looks kinda like this: > > domain > nameserver 0.0.0.0 > nameserver nameserver AUTHORIZED TO USE> > > The /etc/resolv.conf isn't necessary on your FreeBSD machine running the BIND server, as it will talk to named directly, but if you have one and the first nameserver is 0.0.0.0, you'll basically have the same result. > > Can you expand on what you mean by 'doesn't work at all'? Does the command 'tail /var/log/messages' show any messages about named running starting up correctly (or not)? Can you use nslookup on your server? > > Let me know, > > -Martin > > ----- Original Message ----- > From: Chris Manjoine > To: freebsd-newbies@FreeBSD.ORG > Sent: Thursday, January 06, 2000 4:32 PM > Subject: Primary DNS setup problems > > > Ok I have set up DNS on a redhat box before and I thought this would be straight forward I have added the configurations in my named.conf file to goto my zone but nothing happens. I can't get it to work at all > > > named.conf > > options { > directory "/etc/namedb"; > pid-file "/var/run/named.pid"; > }; > > zone "." { > type hint; > file "/etc/namedb/db.cache"; > }; > > zone "0.0.127.IN-ADDR.ARPA" { > type master; > file "/etc/namedb/0.0.127.IN-ADDR.ARPA.hosts"; > }; > > > > I want to get the caching name server setup first to avoid any simple errors but this will not even work. > the db.cache is the same as everyone else has and the 0.0.127.IN-ADDR.ARPA.hosts > > @ IN SOA ns.linux.bogus. hostmaster.linux.bogus. ( > 1 ; Serial > 8H ; Refresh > 2H ; Retry > 1W ; Expire > 1D) ; Minimum TTL > NS ns.linux.bogus. > 1 PTR localhost. > > > > rc.conf file stuff NOTE THAT I AM USING A DHCP CLIENT THAT LINKS TO A STATIC IP > > # -- sysinstall generated deltas -- # > network_interfaces="ep0 lo0" > ifconfig_ep0="DHCP" > # -- sysinstall generated deltas -- # > named_enable="YES" > > Other info available at request~ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message