1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
This commit is contained in:
Tom Limoncelli
2021-05-04 14:15:31 -04:00
committed by GitHub
parent 68dee3a8c5
commit 8d139d182f
29 changed files with 41 additions and 42 deletions

View File

@@ -61,7 +61,7 @@ var features = providers.DocumentationNotes{
func init() {
fns := providers.DspFuncs{
Initializer: newHEDNSProvider,
Initializer: newHEDNSProvider,
RecordAuditor: AuditRecords,
}
providers.RegisterDomainServiceProviderType("HEDNS", fns, features)
@@ -326,7 +326,7 @@ func (c *hednsProvider) GetZoneRecords(domain string) (models.Records, error) {
err = rc.SetTarget(data)
case "MX":
// dns.he.net omits the trailing "." on the hostnames for MX records
err = rc.SetTargetMX(uint16(priority), data + ".")
err = rc.SetTargetMX(uint16(priority), data+".")
case "SRV":
err = rc.SetTargetSRVPriorityString(uint16(priority), data)
case "SPF":