فهرست منبع

named should listen on all interfaces

Serghey Rodin 12 سال پیش
والد
کامیت
d08ee4b8c6
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 1 0
      install/vst-install-debian.sh
  2. 1 0
      install/vst-install-ubuntu.sh

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

@@ -510,6 +510,7 @@ mysql -e "FLUSH PRIVILEGES"
 
 # Bind configuration
 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
 chmod 640 /etc/bind/named.conf
 update-rc.d bind9 defaults

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

@@ -513,6 +513,7 @@ mysql -e "FLUSH PRIVILEGES"
 
 # Bind configuration
 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
 chmod 640 /etc/bind/named.conf
 update-rc.d bind9 defaults