mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-11 07:34:32 +08:00
INWX: BUGFIX: ALIAS RRs updates are broken due to trailing dot issue (#3564)
This commit is contained in:
parent
ba67db23b5
commit
97bbc80b2a
1 changed files with 2 additions and 1 deletions
|
@ -189,7 +189,7 @@ func makeNameserverRecordRequest(domain string, rec *models.RecordConfig) *goinw
|
|||
Records with empty targets (i.e. records with target ".")
|
||||
are allowed.
|
||||
*/
|
||||
case "CNAME", "NS":
|
||||
case "CNAME", "NS", "ALIAS":
|
||||
req.Content = content[:len(content)-1]
|
||||
case "MX":
|
||||
req.Priority = int(rec.MxPreference)
|
||||
|
@ -456,6 +456,7 @@ func (api *inwxAPI) GetZoneRecords(domain string, meta map[string]string) (model
|
|||
are allowed.
|
||||
*/
|
||||
rtypeAddDot := map[string]bool{
|
||||
"ALIAS": true,
|
||||
"CNAME": true,
|
||||
"MX": true,
|
||||
"NS": true,
|
||||
|
|
Loading…
Add table
Reference in a new issue