Skip to content

Commit 97bbc80

Browse files
authored
INWX: BUGFIX: ALIAS RRs updates are broken due to trailing dot issue (#3564)
1 parent ba67db2 commit 97bbc80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

providers/inwx/inwxProvider.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func makeNameserverRecordRequest(domain string, rec *models.RecordConfig) *goinw
189189
Records with empty targets (i.e. records with target ".")
190190
are allowed.
191191
*/
192-
case "CNAME", "NS":
192+
case "CNAME", "NS", "ALIAS":
193193
req.Content = content[:len(content)-1]
194194
case "MX":
195195
req.Priority = int(rec.MxPreference)
@@ -456,6 +456,7 @@ func (api *inwxAPI) GetZoneRecords(domain string, meta map[string]string) (model
456456
are allowed.
457457
*/
458458
rtypeAddDot := map[string]bool{
459+
"ALIAS": true,
459460
"CNAME": true,
460461
"MX": true,
461462
"NS": true,

0 commit comments

Comments
 (0)