Skip to content

Commit

Permalink
Fix v1.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Jan 2, 2021
1 parent 5059d23 commit 7268634
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkg/unbound/conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,11 @@ func generateUnboundConf(settings models.Settings,
"harden-referral-path": "yes",
"harden-algo-downgrade": "yes",
// Network
"do-ip4": ipv4,
"do-ip6": ipv6,
"interface": "0.0.0.0",
"port": strconv.Itoa(int(settings.ListeningPort)),
"do-ip4": ipv4,
"do-ip6": ipv6,
"interface": "0.0.0.0",
"access-control": "0.0.0.0/0 allow",
"port": strconv.Itoa(int(settings.ListeningPort)),
// Other
"username": `"` + username + `"`,
"include": includeConfFilename,
Expand Down
1 change: 1 addition & 0 deletions pkg/unbound/conf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func Test_generateUnboundConf(t *testing.T) {
)
expected := `
server:
access-control: 0.0.0.0/0 allow
cache-max-ttl: 9000
cache-min-ttl: 3600
do-ip4: yes
Expand Down

0 comments on commit 7268634

Please sign in to comment.