diff --git a/.travis.yml b/.travis.yml index 90d9824b..6cd0e18e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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