mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
gofmt cleanups (#1217)
* Create codeql-config.yml * Update codeql-analysis.yml Add config to exclude certain files * Run gofmt on a few files as reported by goreportcard.com
This commit is contained in:
@ -189,7 +189,7 @@ func fromRecordConfig(rc *models.RecordConfig) *recordRequestData {
|
||||
|
||||
func systemNameServerToRecordConfig(domain string, nameServer string) *models.RecordConfig {
|
||||
// DNS Made Easy does not allow the system name servers to be edited, and said records appear to always have a fixed TTL of 86400.
|
||||
const fixedNameServerRecordTTL = 86400;
|
||||
const fixedNameServerRecordTTL = 86400
|
||||
|
||||
target := nameServer + "."
|
||||
return toRecordConfig(domain, &recordResponseDataEntry{Type: "NS", Value: target, TTL: fixedNameServerRecordTTL})
|
||||
|
Reference in New Issue
Block a user