localhost bind will not resolve from other clients
I'm running a closed network (not on the internet).
I'm running bind on a Fedora Core 5 box. Command line. On other servers I'm also running bind. From localhost I can resolve dns names such as io.com, www.io.com, ftp.io.com, mail.io.com, and public.io.com. In other words: I can ping ftp.io.com from locally but not from another machine. But from other clients the only dns name that gets resloved is the io.com. I have a dns server at 192.168.1.8 that everyone points to. I have /etc/resolv.conf set as: nameserver 127.0.0.1 nameserver 192.168.1.8 Any hints on what else could be wrong. The only files I've edited are: named.conf, io.com.zone, and rev.168.192.zone Thanks, cwc |
Please post your io.com.zone and rev.168.192.zone files and let's have a look.
All of these machines are running bind..are they setup as slaves :confused: |
It will be 10 hours before I'm back at the network location.
All computers are running bind. I don't think io.com is set as a slave. How do you script a slave? |
Thanks for the reply xjlittle!
// named.conf // named.conf for Red Hat caching-nameserver // acl io-com {192.168.1.0/24; 127.0/8;}; options { directory "/var/named"; allow-query {tma-com;}; //dump-file "/var/named/data/cache_dump.db"; //statistics-file "/var/named/data/named_stats.txt"; forwarders {192.168.1.8;}; forward only; /* 192.168.1.8 is the main nameserver custom configured * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; }; // // a caching only nameserver config // controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; }; zone "." IN { type hint; file "named.ca"; }; zone "localdomain" IN { type master; file "localdomain.zone"; allow-update { none; }; }; zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; }; zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; }; zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN { type master; file "named.ip6.local"; allow-update { none; }; }; zone "255.in-addr.arpa" IN { type master; file "named.broadcast"; allow-update { none; }; }; zone "0.in-addr.arpa" IN { type master; file "named.zero"; allow-update { none; }; }; #forward zone zone "io.com" IN { type master; file "io.com.zone"; }; #reverse zone zone "1.168.192.in-addr.arpa" IN { type master; file "192.168.1.zone"; }; include "/etc/rndc.key"; ------------------------------------ //io.com.zone $TTL 1D io.com. IN SOA io.com. root.io.com. ( 2007011701 ; serial 2H ; refresh slaves 5M ; retry 1W ; expire 1M ; Negative TTL ) @ IN NS io.com. io.com. IN A 192.168.1.13; www IN CNAME io.com. ; ftp IN CNAME io.com. ; ------------------------------------ //192.168.1.zone $TTL 1D @ IN SOA io.com. root.io.com. ( 20070116701 ; serial 2H ; refresh slaves 5M ; retry 1W ; expire 1M ; Negative TTL ) IN NS io.com. 13 IN PTR io.com. |
All times are GMT -5. The time now is 04:14 AM. |