mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
BIND: Improve SOA serial number handling (#651)
* github.com/miekg/dns * Greatly simplify the logic for handling serial numbers. Related code was all over the place. Now it is abstracted into one testable method makeSoa. This simplifies code in many other places. * Update docs/_providers/bind.md: Edit old text. Add SOA description. * SOA records are now treated like any other record internally. You still can't specify them in dnsconfig.js, but that's by design. * The URL for issue 491 was wrong in many places * BIND: Clarify GENERATE_ZONEFILE message
This commit is contained in:
@@ -44,7 +44,7 @@ type DNSProviderConfig struct {
|
||||
// FIXME(tal): In hindsight, the Nameserver struct is overkill. We
|
||||
// could have just used []string. Now every provider calls StringsToNameservers
|
||||
// and ever user calls StringsToNameservers. We should refactor this
|
||||
// some day. https://github.com/StackExchange/dnscontrol/v2/issues/577
|
||||
// some day. https://github.com/StackExchange/dnscontrol/issues/577
|
||||
|
||||
// Nameserver describes a nameserver.
|
||||
type Nameserver struct {
|
||||
|
||||
Reference in New Issue
Block a user