"no servers could be reached" - on my dns setup (fedora)
Greetings to everybody. Its my first time to post. Im having problem configuring my dns. I used "dig" (i used another machine) to test my dns server, I just always get this message "no servers could be reached".
I would really appreciate any help. Im struggling on dns. Thanks. |
Need more info (and then I'm not sure I can help):
|
Im am using BIND8, running on Fedora5. My bind is running good (based on my tests) on my dns server itself (server ip 192.168.1.100). "dig" and "nslookup" are giving the right answers - within the dns server itself. But when i use my other redhat box (connected locally with ip 192.168.1.2), i get "no servers could be reached".
Here are portions of my bind configuration. The info might help... ------------------------- file: /etc/named.conf ------------------------- options { directory "/var/named"; query-source address * port 53; forward first; forwarders { 202.138.128.54; // the primary dns of my isp 202.138.128.50 // secondary dns of isp }; allow-query { 192.168.1.7; localhost; }; allow-recursion { 192.168.1.7; localhost;}; }; controls { inet 127.0.0.1 allow {localhost;} keys {rndckey;}; }; zone "localhost" IN{ type master; file "localhost.zone"; allow-update {none;}; }; zone "bagabaglinux.com" { type master; notify no; file "bagabaglinux.com"; }; Note: i excluded reverse dns for zone "0.0.127.in-addr.arpa" and the likes for brevity. ------------------------------------------------ file: /var/named/chroot/var/named/named.local ------------------------------------------------ $TTL 3D @ IN SOA ns.bagabaglinux.com hostmaster.bagabaglinux.com. ( 1 ; serial .... NS ns.bagabaglinux.com. 1 PTR localhost. ------------------------------------------------- file: /var/named/chroot/var/named/bagabaglinux.com ------------------------------------------------- ; zone file for bagabaglinux.com $TTL 3D @ IN SOA ns.bagabaglinux.com. hostmaster.bagabaglinux.com ( 2008071614; serial ... NS ns; Inet address of name server MX 10 mail ; primary mail exchanger localhost A 127.0.0.1 gw A 192.168.1.1 ns A 192.168.1.100 MX 10 mail www CNAME ns mail A 192.168.1.100 MX 10 mail herb A 192.168.1.2 ----------------------------------------------------- These are my configurations. I used my other linux box "herb" with ip 192.168.1.2, and issued dig to check my dns server. There the message goes "no servers could be reached". Im planin to use this name server to resolve local and external (internet) queries. I would appreciate any help... Thanks... |
make sure your pc client connected on the network is using the private DNS. in linux it is located on /etc/resolv.conf.
digitelone is from philipine right? |
Quote:
|
All times are GMT -5. The time now is 11:21 PM. |