Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 1999 17:58:45 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        Shashi Joshi <shashi@Shift-F1.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Setting DNS primary for multi-IP machine?
Message-ID:  <Pine.BSF.3.96.990713175233.15964E-100000@java.dpcsys.com>
In-Reply-To: <19990713163915.A17934@Shift-F1.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990713175233.15964E-100000>