Date: Thu, 18 Jan 1996 18:31:46 +0100 From: "K. Rune Nilsen" <rune@follonett.no> To: Bruce Bauman <boot@mosquito.com> Cc: freebsd-isp@FreeBSD.org Subject: Re: virtual domain setup Message-ID: <30FE8402.2634@follonett.no> References: <199601181433.JAA05182@itchy.mosquito.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 file foo.com: @ IN SOA ns.foo.com hostmaster.foo.com ( serial number, etc. ) NS ns.foo.com. NS other.name.server.com. ; MX MX 10 ns.foo.com. ; Hosts ns IN A 206.205.132.10 HINFO i586 FreeBSD ; Aliases www CNAME ns ftp CNAME ns news CNAME ns mail CNAME ns foo.com. CNAME ns ; etc. file bar.com: @ IN SOA ns.bar.com hostmaster.foo.com ( serial number, etc. ) NS ns.foo.com. NS other.name.server.com. ; MX MX 10 ns.foo.com. ; Hosts ns IN A 206.205.132.11 HINFO i586 FreeBSD ; Aliases www CNAME ns ftp CNAME ns news CNAME ns mail CNAME ns bar.com. CNAME ns ; etc. Hope this helps. --------------------------------------------------------------------------- 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?30FE8402.2634>