[CentOS] help needed with DNS server

Rudi Ahlers

rudiahlers at gmail.com
Mon Mar 23 14:14:25 UTC 2009


Hi all,

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


netstat -tulpn | grep :53
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
tcp        0      0 127.0.0.1:53                0.0.0.0:*
     LISTEN      28979/named
tcp        0      0 ::1:53                      :::*
     LISTEN      28979/named
udp        0      0 127.0.0.1:53                0.0.0.0:*
                 28979/named
udp        0      0 ::1:53                      :::*
                 28979/named



What am I missing?
-- 

Kind Regards
Rudi Ahlers



More information about the CentOS mailing list