Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2001 23:15:10 -0700 (PDT)
From:      Ken Bolingbroke <hacker@bolingbroke.com>
To:        "G. Jason Middleton" <gmiddl1@gl.umbc.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: multiple domains with BIND
Message-ID:  <Pine.BSF.4.21.0105042311060.51204-100000@fremont.bolingbroke.com>
In-Reply-To: <Pine.LNX.4.31L.02.0105050008110.1209-100000@linux2.gl.umbc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sat, 5 May 2001, G. Jason Middleton wrote:

> how do i need to set BIND up so that i can host two domains?
> 
> Got one IP and two domains to host.  Pretty straight forward.  i currently
> have BIND set up to run one domain.  Do i need to create all new database
> files or can I just add to my db.domain1 file?

Go to /etc/namedb.

Edit named.conf and copy the entry for your current domain into a second
similar entry for your new domain and edit as appropriate.

Copy db.domain1 to db.domain2 (or whatever you named it when editing
named.conf), and edit the new file as appropriate for your new domain.

Run 'ndc reconfig'

Ken


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" 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.4.21.0105042311060.51204-100000>