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; };
};


