cannot use DNS server except on localhost
I am running a RedHat 9 server at home. It has a private static IP and uses my DSL router. I installed named / bind and I was planning to run DNS for my domain. I did it twice and got the same results twice. The DNS server works fine when I check in on the server. is. myserver%nslookup mydomain.com localhost or myserver%nslookup mydomain.com 192.168.0.25 work perfectly. However, I cannot connect to the DNS server from any other computer (inside or outside the local network).
192.168.0.100%nslookup mydomain.com 192.168.0.25 returns
named ;; connection timed out; no server could be reached
after a while.
How is this possible? I made a lot of changes in the named.conf file (using allow-query {any;}, changing port, ...) and allowed everything on port 53 in the iptables. Nothing works. When I run netstat -nl, it tells me that it listens on udp/tcp port 53 for 192.168.0.25 and 127.0.0.1. It only listend on udp 53 for 0.0.0.0/0. Is this right?
Thanks,
Frank.
|