Skip to content

Commit

Permalink
dnsforward: imp tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed Feb 21, 2023
1 parent ff9963d commit d780ad0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -25,7 +25,7 @@ NOTE: Add new changes BELOW THIS COMMENT.

### Fixed

- Requirements to domain names in domain-specific upstream configurations has
- Requirements to domain names in domain-specific upstream configurations have
been relaxed to meet those from [RFC 3696][rfc3696] ([#4884]).
- Panic when using unencrypted DNS-over-HTTPS ([#5518]).
- Failing service installation via script on FreeBSD ([#5431]).
Expand Down
4 changes: 4 additions & 0 deletions internal/dnsforward/config_test.go
Expand Up @@ -31,6 +31,10 @@ func TestAnyNameMatches(t *testing.T) {
name: "match",
dnsName: "1.2.3.4",
want: true,
}, {
name: "mismatch_bad_ip",
dnsName: "1.2.3.256",
want: false,
}, {
name: "mismatch",
dnsName: "host2",
Expand Down

0 comments on commit d780ad0

Please sign in to comment.