add AXFR request handling to support slaves
E2E Tests / e2e-tests (pull_request) Failing after 7s
golangci-lint / lint (pull_request) Failing after 4s
Go Coverage / Build and Test (pull_request) Failing after 13m36s

This commit is contained in:
Simon Zeyer
2026-02-24 19:50:54 +00:00
parent 87db76cf39
commit b2701161cb
3 changed files with 159 additions and 0 deletions
+5
View File
@@ -10,6 +10,7 @@ type AcmednsDB interface {
Register(cidrslice Cidrslice) (ACMETxt, error)
GetByUsername(uuid.UUID) (ACMETxt, error)
GetTXTForDomain(string) ([]string, error)
GetTXTForAllDomains() ([]TXTRecord, error)
Update(ACMETxtPost) error
GetBackend() *sql.DB
SetBackend(*sql.DB)
@@ -23,4 +24,8 @@ type AcmednsNS interface {
ParseRecords()
BumpSerial() error
}
type TXTRecord struct {
Subdomain string
Value string
}