From owner-freebsd-isp Thu Jan 18 09:37:56 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA21205 for isp-outgoing; Thu, 18 Jan 1996 09:37:56 -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 JAA21198 for ; Thu, 18 Jan 1996 09:37:50 -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 SAA28506; Thu, 18 Jan 1996 18:37:04 +0100 Received: from nic.follonett.no by alpha1.nipnett.no; (5.65/1.1.8.2/30Aug95-0205PM) id AA03203; Thu, 18 Jan 1996 18:38:22 +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 SAA04556; Thu, 18 Jan 1996 18:37:56 +0100 (MET) Message-Id: <30FE8592.653E@follonett.no> Date: Thu, 18 Jan 1996 18:38:26 +0100 From: "K. Rune Nilsen" X-Mailer: Mozilla 2.0b3 (Win95; I) Mime-Version: 1.0 To: boot@mosquito.com Cc: freebsd-isp@FreeBSD.org Subject: Re: virtual domain setup References: <199601181433.JAA05182@itchy.mosquito.com> <30FE8402.2634@follonett.no> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-isp@FreeBSD.org Precedence: bulk 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