| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
set -e |
| 4 |
|
| 5 |
systemctl start [email protected] |
| 6 |
kdig @127.0.0.1 -t ns . +dnssec > root-nameservers-result |
| 7 |
cat root-nameservers-result |
| 8 |
head -n1 < root-nameservers-result | grep -q '^;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: ' |