INWX: BUGFIX: ALIAS RRs updates are broken due to trailing dot issue (#3564)

This commit is contained in:
Eli Heady 2025-05-05 10:29:44 -04:00 committed by GitHub
parent ba67db23b5
commit 97bbc80b2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,