Skip to content

Commit

Permalink
Fix #48 for good (disable dnssec for libredns)
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Jan 1, 2021
1 parent 7fa3dad commit a10727a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/dns/conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ func generateUnboundConf(settings models.Settings, hostnamesLines, ipsLines []st
"include": "include.conf",
}

for _, provider := range settings.Providers {
if provider == constants.LibreDNS {
delete(serverSection, "trust-anchor-file")
}
}

// Server
lines = append(lines, "server:")
serverLines := make([]string, len(serverSection))
Expand Down

0 comments on commit a10727a

Please # to comment.