Date: Sun, 16 Jun 2002 13:16:18 +0200 From: johann@broadpark.no To: questions@freebsd.org Subject: Internal DNS Message-ID: <1024226178.3d0c7382997fc@mail.broadpark.no>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1024226178.3d0c7382997fc>