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-02 23:54:26 -04:00
parent b6aaf12db2
commit 6163be82c5

View File

@ -44,8 +44,9 @@ install:
script:
- sudo find / -name nsd.service
- sudo sed -i 's|-d|-d -4 -a 127.0.0.1@5053 -p 5053|' /etc/systemd/system/multi-user.target.wants/nsd.service
- sudo sed -i 's|-d|-d -4 -a 127.0.0.1@5053 -p 5053|' /lib/systemd/system/nsd.service
- sudo sed -i 's|-d|-d -4 -a 127.0.0.1@5053 -p 5053 -V 999|' /etc/systemd/system/multi-user.target.wants/nsd.service
- sudo sed -i 's|-d|-d -4 -a 127.0.0.1@5053 -p 5053 -V 999|' /lib/systemd/system/nsd.service
- sudo sed -i 's/ip-address\(.\).*/ip-address\1 127.0.0.1@5053/' /etc/nsd/nsd.conf
- sudo systemctl daemon-reload
- sudo systemctl restart nsd
- sudo systemctl status -l nsd