[CentOS] help needed with DNS server

John Doe jdmls at yahoo.com
Mon Mar 23 15:25:04 UTC 2009


From: Rudi Ahlers <rudiahlers at gmail.com>
> I'm setting up a DNS server on CentOS 5.2, but can't get it to listen
> to the outside IP address for DNS queries. There's no firewall
> installed yet.
> 
> Here's the BIND config options:
> 
> options {
>     /* make named use port 53 for the source of all queries, to allow
>          * firewalls to block all ports except 53:
>          */
> 
>      query-source port 53;
> 
>     // Put files that named is allowed to write in the data/ directory:
>     directory "/var/named"; // the default
>     dump-file             "data/cache_dump.db";
>     statistics-file     "data/named_stats.txt";
>    /* memstatistics-file     "data/named_mem_stats.txt"; */
> };
> 
> Yet, it only listes on 127.0.0.1
> 
> What am I missing?

I think, you need to tell him on which IP to listen to...
See 'listen-on' in named.conf man page.

JD


      



More information about the CentOS mailing list