Date: Thu, 18 Jan 1996 18:38:26 +0100 From: "K. Rune Nilsen" <rune@follonett.no> To: boot@mosquito.com Cc: freebsd-isp@FreeBSD.org Subject: Re: virtual domain setup Message-ID: <30FE8592.653E@follonett.no> References: <199601181433.JAA05182@itchy.mosquito.com> <30FE8402.2634@follonett.no>
next in thread | previous in thread | raw e-mail | index | archive | help
K. Rune Nilsen wrote: > > Bruce Bauman wrote: > > Does anyone have a simple example of how to add a virtual domain to our > > nameserver? We are currently mosquito.com, with 206.205.132.xyz as our > > address, and want to assign some addresses from this range to customers: > > e.g. 206.205.132.10 would be foo.com > > 206.205.132.11 would be bar.com > > The domain is not 'virtual' for the name server. It is set up exactly as > it would be for a regular domain. > > file named.boot: > primary foo.com foo.com ;Main domain > primary bar.com bar.com ;Virtual domain And of cource the reverse lookup file: in named.boot: primary 132.205.206.in-addr.arpa 132.205.206 in file 132.205.206: @ IN SOA ns.foo.com. hostmaster.foo.com. ( serial, etc. ) NS ns.foo.com. NS other.name.server.com. ; Pointers 10 PTR ns.foo.com. 11 PTR ns.bar.com. That should be all... --------------------------------------------------------------------------- K. Rune Nilsen follonett@follonett.no Ansvar TV AS/Follonett rune@follonett.no info@follonett.no Tel (+47) 64877140 http://www.follonett.no/ Fax (+47) 64877141
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30FE8592.653E>