From owner-freebsd-questions Sun Jun 16 4:16:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.broadpark.no (217-13-4-9.dd.nextgentel.com [217.13.4.9]) by hub.freebsd.org (Postfix) with ESMTP id 27F9E37B419 for ; Sun, 16 Jun 2002 04:16:25 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.broadpark.no (Postfix) with ESMTP id C19047D5D for ; Sun, 16 Jun 2002 13:16:18 +0200 (MEST) Received: from 217.13.29.51 ( [217.13.29.51]) as user johann@mail.broadpark.no by mail.broadpark.no with HTTP; Sun, 16 Jun 2002 13:16:18 +0200 Message-ID: <1024226178.3d0c7382997fc@mail.broadpark.no> Date: Sun, 16 Jun 2002 13:16:18 +0200 From: johann@broadpark.no To: questions@freebsd.org Subject: Internal DNS MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1;q=1.0 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 X-Originating-IP: 217.13.29.51 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi. I'm in the process of setting up an internal DNS server so Postfix may have an easier setup. I've set up the zonefiles and added their reference to named.conf, yet the hosts (muay.lan, ninja.lan) aren't found: [named.conf] ###################################### options { directory "/etc/namedb"; }; # forwarders { # What is wrong with this forwarding? # 217.13.4.21; # BIND claims it's wrong. # 217.13.7.136; # }; zone "." { type hint; file "named.root"; }; zone "0.0.127.in-addr.arpa" { type master; file "localhost.rev"; }; zone "lan" { type master; file "db.lan"; }; zone "0.168.192.in-addr.arpa" { type master; file "db.lan.rev"; }; zone "terrabionic.com" { type master; file "db.terrabionic.com"; }; [db.lan] ###################################### lan. IN SOA muay.lan. johann.ninja.lan. ( 2002041601 ; Serial 10800 ; Refresh 3600 ; Retry 604800 ; Expire 86400 ) ; Minimum TTL @ IN NS muay.lan. muay.lan. IN A 192.168.0.1 ninja.lan. IN A 192.168.0.2 [db.lan.rev] ###################################### 0.168.192.in-addr.arpa. IN SOA muay.lan. johann.ninja.lan. ( 2002041601 ; Serial 10800 ; Refresh 3600 ; Retry 604800 ; Expire 86400 ) ; Minimum TTL @ IN NS muay.lan. 1.0.168.192.in-addr.arpa. IN PTR muay.lan. 2.0.168.192.in-addr.arpa. IN PTR ninja.lan. [db.localhost.rev] ###################################### 0.0.127.in-addr.arpa. IN SOA muay.lan. johann.ninja.lan. ( 20020613 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum 0.0.127.in-addr.arpa. IN NS muay.terrabionic.com. 0.0.127.in-addr.arpa. IN PTR localhost.terrabionic.com. [db.terrabionic.com] ###################################### terrabionic.com. IN SOA ns1.terrabionic.com. johann.ninja.lan. ( 2002041201 ; Serial 10800 ; Refresh 3600 ; Retry 604800 ; Expire 86400 ) ; Minimum TTL @ IN NS ns1.terrabionic.com. @ IN NS ns2.terrabionic.com. localhost IN A 127.0.0.1 ns1 IN A 217.13.29.51 ns2 IN A 217.8.139.93 @ IN A 217.13.29.51 muay IN CNAME @ ninja IN CNAME @ mail IN CNAME @ www IN CNAME @ @ IN MX 10 mail.terrabionic.com. ###################################### Well, this is my setup. If anyone knows why things still aren't working, PLEASE let me know. Also, what happens to /etc/hosts now that BIND steps in its shoes? Thanks. -- Johann To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message