How to Configure BIND to Listen on certain IP address

Posted by HostsVault | Posted in How-To's | Posted on 25-08-2008-05-2008

0

Just thought of sharing this if anyone is interested in :

You can use the “listen-on ” directive for this by default its set to :

listen-on { any; };

Here is how it would look like to set it to listen to a certain ip

options
{
        listen-on { 208.43.195.240; };
        directory "/var/named"; // the default
        dump-file               "data/cache_dump.db";
        statistics-file         "data/named_stats.txt";
        /* memstatistics-file     "data/named_mem_stats.txt"; */
        dnssec-enable yes;
        recursion no;
        allow-notify { 208.43.195.240; 208.43.195.241; };
};
VN:F [1.9.13_1145]
Rating: 5.0/10 (3 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)
How to Configure BIND to Listen on certain IP address, 5.0 out of 10 based on 3 ratings

Write a comment