Linuxathome.net https://www.linuxathome.net/forum/ |
|
named https://www.linuxathome.net/forum/viewtopic.php?f=1&t=60 |
Page 1 of 1 |
Author: | CyberStriker [ Wed Jul 31, 2002 4:19 pm ] |
Post subject: | named |
Hey all, I have set up a DNS server and have registered with the top level dns so that ns1.cyberstriker.com is pointing to my IP. I have a PTR for www but I don't seem to be able to ping www.cyberstriker.com. Here is my named.conf: acl bogusnets { 0.0.0.0/8; 1.0.0.0/8; 2.0.0.0/8; 192.0.2.0/24; 224.0.0.0/3; 10.0 .0.0/8; 172.16.0.0/12; }; acl slavedns { 144.136.104.46/32; }; acl internals { 192.168.0.0/24; }; options { directory "/var/named"; allow-query { any; }; allow-transfer { slavedns; }; allow-recursion { any; }; blackhole { bogusnets; }; forward first; forwarders { 203.2.75.132; 198.142.0.51; }; }; zone "." { type hint; file "root.hints"; }; zone "0.0.127.in-addr.arpa" { type master; file "pz/127.0.0"; }; zone "cyberstriker.com" { type master; file "pz/cyberstriker.com"; }; zone "16.49.210.in-addr.arpa" { type master; notify no; file "pz/210.49.16"; }; Here is my cyberstriker.com zone file located in /var/named/pz/ $TTL 3D @ IN SOA ns1.cyberstriker.com. hostmaster.cyberstriker.com. ( 2002072601 ; serial, todays date + todays serial 8H ; refresh, seconds 2H ; retry, seconds 4W ; expire, seconds 1D ; minimum, seconds ) A 210.49.16.227 ; record for cyberstriker.com. domain NS ns1 ; Inet Address of name server NS ns2 ; Inet Address of name server MX 10 ns1 ; Mail Exchanger localhost A 127.0.0.1 ns1 A 210.49.16.227 ns2 A 144.136.104.46 www CNAME ns1 mail CNAME ns1 and here is the reverse entry for my ip: $TTL 3D @ IN SOA cyberstriker.com. hostmaster.cyberstriker.com. ( 1 ; Serial 8H ; Refresh 2H ; Retry 4W ; Expire 1D) ; Minimum TTL NS ns1.cyberstriker.com. 227 PTR ns1.cyberstriker.com. Does anyone spot an error? Also, I've tried using nslookup and setting the query mode to SOA and the queries work for www.cyberstriker.com etc but how come I can't actually ping it? Must I allow-transfer to everyone or should I leave it to just my slavedns? Cheers, cjhan |
Page 1 of 1 | All times are UTC + 10 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |