Skip to content

Commit

Permalink
feat: add functionality to allow resolver setting
Browse files Browse the repository at this point in the history
  • Loading branch information
fritterhoff committed Jul 10, 2024
1 parent 4e51be1 commit 8660922
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ func setupAcme(dnsservers []*DNSServer) *certmagic.Config {
Agreed: true,
DNS01Solver: &certmagic.DNS01Solver{DNSManager: certmagic.DNSManager{
DNSProvider: &provider,
Resolvers: Config.General.Resolvers,
}},
DisableHTTPChallenge: true,
DisableTLSALPNChallenge: true,
Expand Down
1 change: 1 addition & 0 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ type general struct {
Nsadmin string
Debug bool
StaticRecords []string `toml:"records"`
Resolvers []string `toml:"resolvers"`
}

type dbsettings struct {
Expand Down

0 comments on commit 8660922

Please sign in to comment.