mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-04 12:14:23 +08:00
parent
798cdffd81
commit
7c9a23b215
1 changed files with 3 additions and 0 deletions
|
@ -161,6 +161,9 @@ func (s *SoftLayer) getExistingRecords(domain *datatypes.Dns_Domain) ([]*models.
|
|||
service = *record.Service
|
||||
}
|
||||
recConfig.SetLabel(fmt.Sprintf("%s.%s", service, strings.ToLower(protocol)), *domain.Name)
|
||||
case "TXT":
|
||||
recConfig.TxtStrings = append(recConfig.TxtStrings, *record.Data)
|
||||
fallthrough
|
||||
case "MX":
|
||||
if record.MxPriority != nil {
|
||||
recConfig.MxPreference = uint16(*record.MxPriority)
|
||||
|
|
Loading…
Add table
Reference in a new issue