From 500d8cfaa7cfc464bfbc08e2c490c19ba33141de Mon Sep 17 00:00:00 2001 From: downtownallday Date: Tue, 2 Jun 2020 22:21:56 -0400 Subject: [PATCH] again --- .travis.yml | 11 +++++------ tests/assets/nsd/nsd-extra.conf | 2 -- 2 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 tests/assets/nsd/nsd-extra.conf diff --git a/.travis.yml b/.travis.yml index 98584d2b..5f9bf037 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,19 +43,18 @@ install: - sudo ./setup/start.sh -v script: - - sudo sed -i 's|-d|-d -V 9|' /etc/systemd/system/multi-user.target.wants/nsd.service + - sudo sed -i 's|-d|-d -4 -p 5053|' /etc/systemd/system/multi-user.target.wants/nsd.service - sudo systemctl daemon-reload -# - sudo $SHELL -c 'cat ./tests/assets/nsd/nsd-extra.conf >> /etc/nsd/nsd.conf' -# - sudo sed -i 's/\(.\) yes/\1 yes\n port\1 1053/' /etc/nsd/nsd.conf - - sudo sed -i 's/ip-address\(.\).*/\n port\1 1053\n ip-address\1 0.0.0.0/' /etc/nsd/nsd.conf + - sudo sed -i 's/ip-address\(.\).*/&\n port\1 5053/' /etc/nsd/nsd.conf - sudo systemctl restart nsd - sudo systemctl status -l nsd - - sudo tail -100 /var/log/syslog - sudo cat /var/log/nsd.log - sudo cat /etc/nsd/nsd.conf - sudo nsd-checkconf -o port /etc/nsd/nsd.conf - sudo cat /etc/systemd/system/multi-user.target.wants/nsd.service - - sudo ps -ef + - sudo tail -100 /var/log/syslog + - sudo ps -efww - sudo ss -lp "sport = 8952" - sudo ss -lp "sport = :domain" + - sudo ss -lp "sport = 5053" - sudo ./tests/runner.sh -dumpoutput -no-smtp-remote diff --git a/tests/assets/nsd/nsd-extra.conf b/tests/assets/nsd/nsd-extra.conf deleted file mode 100644 index 2e34b7a1..00000000 --- a/tests/assets/nsd/nsd-extra.conf +++ /dev/null @@ -1,2 +0,0 @@ -remote-control: - control-enable: no