From owner-freebsd-isp Tue Feb 6 10: 7:46 2001 Delivered-To: freebsd-isp@freebsd.org Received: from mailsrv.amplex.net (mailsrv.amplex.net [209.57.124.54]) by hub.freebsd.org (Postfix) with ESMTP id DEDAD37B401 for ; Tue, 6 Feb 2001 10:07:25 -0800 (PST) Received: from marklaptop (office-7.amplex.net [209.57.221.7]) (authenticated) by mailsrv.amplex.net (8.11.2/8.11.2) with ESMTP id f16I7Or49131 for ; Tue, 6 Feb 2001 13:07:24 -0500 (EST) From: "Mark Radabaugh" To: Subject: RE: Managing DNS Date: Tue, 6 Feb 2001 13:07:19 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20010206205708.A54391@poeza.iconnect.co.ke> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Importance: Normal Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This won't work if you are not using virtual hosting but we set up a generic zone file for each web server like this: $TTL 26400 @ IN SOA bsd.amplex.net. support.amplex.net. ( @ IN A 209.57.124.27 @ 600 IN MX 10 mailsrv.amplex.net. www IN A 209.57.124.27 ftp IN A 209.57.124.27 mail IN CNAME pop3.amplex.net. pop3 IN CNAME pop3.amplex.net. smtp IN CNAME smtp.amplex.net. stmp IN CNAME smtp.amplex.net. and then just keep using that in the named.conf file: zone "dynamicsmfg.com" { type master; file "web.virtuals.dns"; }; zone "myphotovideo.com" { type master; file "web.virtuals.dns"; }; BIND doesn't care that the same file is referenced for different domains. The only time you need to make a different zone file is if the customer needs something special. We don't worry about reverse DNS for virtual hosted customers - the reverse points to the web servers name. I'm sure there are even better solutions using databases... Mark Radabaugh VP, Amplex (419)833-3635 mark@amplex.net > -----Original Message----- > From: owner-freebsd-isp@FreeBSD.ORG > [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Odhiambo Washington > Sent: Tuesday, February 06, 2001 12:57 PM > To: FBSD-ISP > Subject: Managing DNS > > > Hi > I was beginning to think that there is an easier way of managing > hosted domains than > we're doing now. We're an ISP and we do host quite a good number of > domains for > clients. These are mainly in the .KE but we also have .COM etc. Now we have to > enter those domain names for both Forward and reverse lookups. We do have a db > file for each domain that we host and most of the time the only > difference in the > db file would be a static IP we've allocated a domain and possibly an A record > for a web page hosted elsewhere. > > Isn't it possible to have a single db file for ALL these hosted domains? > What methods are others using out there? > > TIA > > -Wash > > -- > Odhiambo Washington Inter-Connect Ltd., > wash@iconnect.co.ke 5th Flr Furaha Plaza > Tel: 254 11 222604 Nkrumah Rd., > Fax: 254 11 222636 PO Box 83613 MOMBASA, KE. > > Want to make your computer go really fast? Throw it out a window. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message