Skip to content

Commit

Permalink
Add test from #2460, import dhcpdns
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jan 10, 2025
1 parent d787861 commit 6e1e5e3
Show file tree
Hide file tree
Showing 10 changed files with 661 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .ci/ci-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ t || dig -p${DNS_PORT} +dnssec PTR 168.192.in-addr.arpa @127.0.0.1 | grep -Fq 'f
section
t || dig -p${DNS_PORT} +dnssec darpa.mil @127.0.0.1 2>&1 | grep -Fvq 'RRSIG' || fail
t || dig -p${DNS_PORT} +dnssec www.darpa.mil @127.0.0.1 2>&1 | grep -Fvq 'RRSIG' || fail
t || dig -p${DNS_PORT} A download.windowsupdate.com @127.0.0.1 | grep -Fq "NOERROR" || fail

section
t || dig -p${DNS_PORT} +short cloakedunregistered.com @127.0.0.1 | grep -Eq '1.1.1.1|1.0.0.1' || fail
Expand Down Expand Up @@ -122,6 +123,7 @@ t || grep -Eq 'invalid.*SYNTH' query.log || fail
t || grep -Eq '168.192.in-addr.arpa.*SYNTH' query.log || fail
t || grep -Eq 'darpa.mil.*FORWARD' query.log || fail
t || grep -Eq 'www.darpa.mil.*FORWARD' query.log || fail
t || grep -Eq 'download.windowsupdate.com.*FORWARD' query.log || fail
t || grep -Eq 'cloakedunregistered.com.*CLOAK' query.log || fail
t || grep -Eq 'www.cloakedunregistered2.com.*CLOAK' query.log || fail
t || grep -Eq 'www.dnscrypt-test.*CLOAK' query.log || fail
Expand Down
1 change: 1 addition & 0 deletions .ci/forwarding-rules.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
darpa.mil 208.67.222.222
download.windowsupdate.com $DHCPDNS

15 changes: 15 additions & 0 deletions vendor/github.com/lifenjoiner/dhcpdns/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions vendor/github.com/lifenjoiner/dhcpdns/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6e1e5e3

Please # to comment.