Kaynağa Gözat

named should listen on all interfaces

Serghey Rodin 12 yıl önce
ebeveyn
işleme
d08ee4b8c6

+ 1 - 0
install/vst-install-debian.sh

@@ -510,6 +510,7 @@ mysql -e "FLUSH PRIVILEGES"
 
 
 # Bind configuration
 # Bind configuration
 wget $CHOST/$VERSION/named.conf -O /etc/bind/named.conf
 wget $CHOST/$VERSION/named.conf -O /etc/bind/named.conf
+sed -i "s%listen-on%//listen%" /etc/bind/named.conf.options
 chown root:bind /etc/bind/named.conf
 chown root:bind /etc/bind/named.conf
 chmod 640 /etc/bind/named.conf
 chmod 640 /etc/bind/named.conf
 update-rc.d bind9 defaults
 update-rc.d bind9 defaults

+ 1 - 0
install/vst-install-ubuntu.sh

@@ -513,6 +513,7 @@ mysql -e "FLUSH PRIVILEGES"
 
 
 # Bind configuration
 # Bind configuration
 wget $CHOST/$VERSION/named.conf -O /etc/bind/named.conf
 wget $CHOST/$VERSION/named.conf -O /etc/bind/named.conf
+sed -i "s%listen-on%//listen%" /etc/bind/named.conf.options
 chown root:bind /etc/bind/named.conf
 chown root:bind /etc/bind/named.conf
 chmod 640 /etc/bind/named.conf
 chmod 640 /etc/bind/named.conf
 update-rc.d bind9 defaults
 update-rc.d bind9 defaults