From owner-freebsd-questions Thu Feb 25 9:35:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (Postfix) with ESMTP id 49CC314BD5 for ; Thu, 25 Feb 1999 09:35:07 -0800 (PST) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id JAA18985; Thu, 25 Feb 1999 09:35:17 -0800 (PST) Date: Thu, 25 Feb 1999 09:35:15 -0800 (PST) From: Dan Busarow To: Langa Kentane Cc: "'freebsd-questions@freebsd.org'" Subject: Re: DNS problem (newbie) In-Reply-To: <913B8C252194D2119BD500805F318178030486@za12nt02.mweb.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 24 Feb 1999, Langa Kentane wrote: > Here goes: > > ; From: @(#)localhost.rev 5.1 (Berkeley) 6/30/90 > ; $Id: PROTO.localhost.rev,v 1.4 1997/05/01 21:02:37 ache Exp $ > ; > ; This file is automatically edited by the `make-localhost' script in > ; the /etc/namedb directory. > ; > > @ IN SOA wired.impakt.net. root.wired.impakt.net. ( > 19990217 ; Serial > 3600 ; Refresh > 900 ; Retry > 3600000 ; Expire > 3600 ) ; Minimum > IN NS wired.impakt.net. > 1 IN PTR localhost.impakt.net. That should be it for db.localhost The following needs to be in its own zone file, db.impakt.net (or whatever) @ IN SOA wired.impakt.net. root.wired.impakt.net. ( 19990217 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum IN NS wired.impakt.net. the SOA section is the same in all zone files if you setup named.conf (or boot) correctly. > ; actual host name > > wired IN A 200.200.200.35 ; This host > net32 IN A 200.200.200.33 ;Interface 1 on netware > net64 IN A 200.200.200.65 ;Interface 2 on netware > net96 IN A 200.200.200.97 ;Interface 3 on netware > > > ; aliases > > ewok IN CNAME net96 ; Netwae server > www IN CNAME wired ; www server > mail IN CNAME wired ; mail server > ftp IN CNAME wired ; ftp server > > ; mail server for domain > > Start another zone, db.200.200.200 You need an SOA record @ IN SOA wired.impakt.net. root.wired.impakt.net. ( 19990217 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum IN NS wired.impakt.net. > > $ORIGIN 200.200.200.IN-ADDR-ARPA No, delete that origin record. > IN NS wired > 33 IN PTR router1 > 65 IN PTR router2 > 97 IN PTR router3 Though not strictly true NS records are usually considered part of the SOA. Put it there. You need an entry for 35. And all the records require fully qualified domain names. Your default domain in this file is, like the origin says, 200.200.200.in-addr.arpa so the expanded entry for your 33 would be 33 IN PTR router1.200.200.200.in-addr.arpa. Not likely to be what you want :) Try 33 IN PTR router1.impakt.net. 35 IN PTR wired.impakt.net. 65 IN PTR router2.impakt.net. 97 IN PTR router3.impakt.net. > $ORIGIN 0.0.127.IN-ADDR.ARPA > IN NS wired.impakt.net > 1 IN PTR localhost.impakt.net What's this for. You already had correct entries for localhost. Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message