Bind 'named.conf.options'

Discussion in 'Installation/Configuration' started by makensy13, Jan 4, 2011.

  1. makensy13

    makensy13 New Member

    Hello,

    Should we change the "Listen on " in the file named.con.options.
    By default that indicates whether the loopback address 127.0.0.1.
    I amend it to show my public IP address.
    Example:

    options {
    directory "/var/cache/bind";

    // If there is a firewall between you and nameservers you want
    // to talk to, you may need to fix the firewall to allow multiple
    // ports to talk. See http://www.kb.cert.org/vuls/id/800113

    // If your ISP provided one or more IP addresses for stable
    // nameservers, you probably want to use them as forwarders.
    // Uncomment the following block, and insert the addresses replacing
    // the all-0's placeholder.

    // forwarders {
    // 0.0.0.0;
    // };

    auth-nxdomain no; # conform to RFC1035
    listen-on { 127.0.0.1;};
    listen-on { 88.xxx.xx.xxx;};
    };

    Thank you

    Sincerely,
     
  2. falko

    falko Super Moderator

    You can add a listen-on directive for your public IP if you want BIND to listen on your public IP.
     
  3. makensy13

    makensy13 New Member

    Thank you Falco

    Sincerely,
     

Share This Page