Ignore:
Timestamp:
10/07/08 01:58:04 (5 years ago)
Author:
anarcat
Message:

stop overwriting named.conf

starting this release, only named.conf.options will be replaced (as we
need to modify the options {} block and can't just add another one). We
still install a named.conf, a fresh version from Lenny this time, so
that we get a clean start.

Also get rid of the bind_internal parameter that is not really used or
recommended, as it allows for authoritative nameservers to also serve
recursive queries (which is bad practice).

See: #1025
Closes: #1104

File:
1 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/install/alternc.install

    r2325 r2328  
    2626if [ -e /etc/bind/named.conf ]; then 
    2727    CONFIG_FILES="$CONFIG_FILES etc/bind/templates/zone.template 
    28                   etc/bind/templates/named.template etc/bind/named.conf" 
     28                  etc/bind/templates/named.template etc/bind/named.conf etc/bind/named.conf.options" 
    2929fi 
    3030if [ -e /etc/courier/authdaemonrc ]; then 
     
    111111                 print join (\".\", @ip);"` 
    112112 
    113 if [ ! -z "$BIND_INTERNAL" ]; then 
    114     BIND_INTERNAL="$BIND_INTERNAL;" 
    115 fi 
    116  
    117113if [ -z "$MONITOR_IP" ]; then 
    118114    MONITOR_IP="127.0.0.1" 
     
    130126s\\%%ns1%%\\$NS1_HOSTNAME\\; 
    131127s\\%%ns2%%\\$NS2_HOSTNAME\\; 
    132 s\\%%bind_internal%%\\$BIND_INTERNAL\\; 
    133128s\\%%mx%%\\$DEFAULT_MX\\; 
    134129s\\%%dbhost%%\\$MYSQL_HOST\\; 
Note: See TracChangeset for help on using the changeset viewer.