mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 13:01:51 -07:00
named should listen on all interfaces
This commit is contained in:
parent
3f6a2f2371
commit
d08ee4b8c6
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue