Skip to content

Commit 6e1e5e3

Browse files
committed
Add test from #2460, import dhcpdns
1 parent d787861 commit 6e1e5e3

10 files changed

Lines changed: 661 additions & 0 deletions

File tree

.ci/ci-test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ t || dig -p${DNS_PORT} +dnssec PTR 168.192.in-addr.arpa @127.0.0.1 | grep -Fq 'f
6464
section
6565
t || dig -p${DNS_PORT} +dnssec darpa.mil @127.0.0.1 2>&1 | grep -Fvq 'RRSIG' || fail
6666
t || dig -p${DNS_PORT} +dnssec www.darpa.mil @127.0.0.1 2>&1 | grep -Fvq 'RRSIG' || fail
67+
t || dig -p${DNS_PORT} A download.windowsupdate.com @127.0.0.1 | grep -Fq "NOERROR" || fail
6768

6869
section
6970
t || dig -p${DNS_PORT} +short cloakedunregistered.com @127.0.0.1 | grep -Eq '1.1.1.1|1.0.0.1' || fail
@@ -122,6 +123,7 @@ t || grep -Eq 'invalid.*SYNTH' query.log || fail
122123
t || grep -Eq '168.192.in-addr.arpa.*SYNTH' query.log || fail
123124
t || grep -Eq 'darpa.mil.*FORWARD' query.log || fail
124125
t || grep -Eq 'www.darpa.mil.*FORWARD' query.log || fail
126+
t || grep -Eq 'download.windowsupdate.com.*FORWARD' query.log || fail
125127
t || grep -Eq 'cloakedunregistered.com.*CLOAK' query.log || fail
126128
t || grep -Eq 'www.cloakedunregistered2.com.*CLOAK' query.log || fail
127129
t || grep -Eq 'www.dnscrypt-test.*CLOAK' query.log || fail

.ci/forwarding-rules.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
darpa.mil 208.67.222.222
2+
download.windowsupdate.com $DHCPDNS
23

vendor/github.com/lifenjoiner/dhcpdns/.gitignore

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/lifenjoiner/dhcpdns/LICENSE

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)