From owner-freebsd-isp Tue Jul 13 17:59:46 1999 Delivered-To: freebsd-isp@freebsd.org Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (Postfix) with ESMTP id C8F0514CB5 for ; Tue, 13 Jul 1999 17:59:40 -0700 (PDT) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id RAA02614; Tue, 13 Jul 1999 17:58:46 -0700 (PDT) Date: Tue, 13 Jul 1999 17:58:45 -0700 (PDT) From: Dan Busarow To: Shashi Joshi Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Setting DNS primary for multi-IP machine? In-Reply-To: <19990713163915.A17934@Shift-F1.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 13 Jul 1999, Shashi Joshi wrote: > I am trying to set up my own DNS primary name server. The box is out at > the ISP, and it responds to multiple IPs and domains. I am not sure how > I shud do this, all the manuals explain it for one domain (multiple > subdomain) only. You can have as many primary lines (4.9) or zone sections (8.x) as you need/want in named.boot/named.conf You have to setup separate zone data files for each domain. For reverse DNS, multiple domains can be listed in the PTR records of the in-addr.arpa zone 1 IN PTR www.domainA.com 2 IN PTR mail.domainA.com 3 IN PTR www.domainB.com > Also, will I need to register the IP/primary name server with NIC? Yes, use the HOST template > Do I have to use NS.mydomain.com as the nameserver, or can i use > mydomain.com also? Give it any name you want. The name you use needs to have an A record and the IP address has to have a PTR pointing to the same name, i.e. no CNAME's here. 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-isp" in the body of the message