From owner-freebsd-isp Thu Jan 18 09:31:15 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA20779 for isp-outgoing; Thu, 18 Jan 1996 09:31:15 -0800 (PST) Received: from nic.ftns.no (nic.ftns.no [194.52.172.18]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA20774 for ; Thu, 18 Jan 1996 09:31:13 -0800 (PST) Received: from alpha1.nipnett.no (alpha1.nipnett.no [194.52.171.10]) by nic.ftns.no (8.6.12/8.6.12) with SMTP id SAA28301; Thu, 18 Jan 1996 18:30:24 +0100 Received: from nic.follonett.no by alpha1.nipnett.no; (5.65/1.1.8.2/30Aug95-0205PM) id AA03129; Thu, 18 Jan 1996 18:31:42 +0100 Received: from gori.follonett.no (gori.follonett.no [194.198.33.77]) by follonett.no (8.7.2/8.7.2) with SMTP id SAA04528; Thu, 18 Jan 1996 18:31:16 +0100 (MET) Message-Id: <30FE8402.2634@follonett.no> Date: Thu, 18 Jan 1996 18:31:46 +0100 From: "K. Rune Nilsen" X-Mailer: Mozilla 2.0b3 (Win95; I) Mime-Version: 1.0 To: Bruce Bauman Cc: freebsd-isp@FreeBSD.org Subject: Re: virtual domain setup References: <199601181433.JAA05182@itchy.mosquito.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-isp@FreeBSD.org Precedence: bulk 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