From owner-freebsd-isp Sun Aug 6 16:53:41 2000 Delivered-To: freebsd-isp@freebsd.org Received: from slarti.muc.de (slarti.muc.de [193.149.48.10]) by hub.freebsd.org (Postfix) with SMTP id B2C6937B640 for ; Sun, 6 Aug 2000 16:53:36 -0700 (PDT) (envelope-from jhs@jhs.muc.de) Received: (qmail 22341 invoked from network); 6 Aug 2000 23:51:39 -0000 Received: from jhs.muc.de (HELO park.jhs.no?domain) (193.149.49.84) by slarti.muc.de with SMTP; 6 Aug 2000 23:51:39 -0000 Received: from park.jhs.no_domain (localhost [127.0.0.1]) by park.jhs.no_domain (8.9.3/8.9.3) with ESMTP id XAA08769 for ; Sun, 6 Aug 2000 23:36:01 GMT (envelope-from jhs@park.jhs.no_domain) Message-Id: <200008062336.XAA08769@park.jhs.no_domain> To: freebsd-isp@FreeBSD.ORG Subject: named entry for a private net From: "Julian Stacey" Organization: Vector Systems Ltd - Unix & Internet consultancy X-Web: http://www.jhs.muc.de http://bim.bsn.com/~jhs/ In-reply-to: Your message of "Sat, 05 Aug 2000 12:49:38 +0800." Date: Mon, 07 Aug 2000 01:36:00 +0200 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'd appreciate criticism of my `named` config that does not yet work. Thanks ! - It is for a FreeBSD-3.4 based internal host. - My unregistered ethernet domain lives behind a firewall with a single registered IP address on an ISDN interface to the internet (dial up). - The host with isdnd & ipfw is working OK to the world, & I don't want to touch that, (to avoid packets keeping the phone line open). - What I hope to do is run a 2nd named on an internal host to satisfy local ethernet requirements, EG: NCD X terminal boots, diskless boot, sendmail between local hosts etc. - Named must act as master for the internal *.jhs.ether/24, & ideally maybe also refer non- *.jhs.ether names to gateway host. Thanks for any ideas/criticism/examples ! /etc/namedb/named.conf:: options { directory "/etc/namedb"; }; zone "jhs.ether" { type master; file "DB.jhs.ether"; }; zone "57.168.192.in-addr.arpa" { type master; file "DB.jhs.reverse"; }; /etc/namedb/internal/DB.jhs.ether:: jhs.ether IN SOA intern.jhs.ether. root.jhs.ether. ( 2000080600 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum IN NS ns IN NS ns1 ns IN A 192.168.57.24 ns1 IN A 192.168.57.31 IN MX 50 intern.jhs.ether. IN MX 100 gateway.jhs.ether. intern IN A 192.168.57.24 gateway IN A 192.168.57.31 /etc/namedb/DB.jhs.reverse:: @ IN SOA intern.jhs.ether. root.jhs.ether. ( 2000080600 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum IN NS ns.jhs.ether. IN NS ns1.jhs.ether. 24 IN PTR intern.jhs.ether. 31 IN PTR gateway.jhs.ether. Julian - Julian Stacey http://bim.bsn.com/~jhs/ Munich Unix Consultant. Free BSD Unix with 3600 packages & sources. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message