1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-05 00:27:25 +00:00
This commit is contained in:
downtownallday 2020-06-03 09:15:03 -04:00
parent 0a5439f0bd
commit e9ac87e63b

View File

@ -43,10 +43,10 @@ install:
- sudo ./setup/start.sh -v
script:
- sudo find / -name nsd.service
- sudo sed -i 's|-d|-d -4 -a 0.0.0.0@5053 -p 5053 -V 3|' /etc/systemd/system/multi-user.target.wants/nsd.service
- sudo sed -i 's|-d|-d -4 -a 0.0.0.0@5053 -p 5053 -V 3|' /lib/systemd/system/nsd.service
- sudo sed -i 's/ip-address\(.\).*/ip-address\1 0.0.0.0@5053\n port\1 5053\n do-ip4\1 yes\n do-ip6\1 no\n username\1 root\n verbosity\1 3\nremote-control\1\n control-enable\1 no/' /etc/nsd/nsd.conf
#- sudo find / -name nsd.service
#- sudo sed -i 's|-d|-d -4 -a 0.0.0.0@5053 -p 5053 -V 3|' /etc/systemd/system/multi-user.target.wants/nsd.service
#- sudo sed -i 's|-d|-d -4 -a 0.0.0.0@5053 -p 5053 -V 3|' /lib/systemd/system/nsd.service
- sudo sed -i 's/ip-address\(.\)\(.*\)/ip-address\1\2\n do-ip4\1 yes\n do-ip6\1 no\n verbosity\1 3\nremote-control\1\n control-enable\1 no/' /etc/nsd/nsd.conf
- sudo systemctl daemon-reload
- sudo systemctl restart nsd
- sudo systemctl status -l nsd