2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 10:10:12 +00:00

Fix dotted hosts update

This commit is contained in:
Aravindh-Raju 2022-10-25 10:56:16 +05:30
parent 9e0a38d3b3
commit dd6f1ba008
No known key found for this signature in database
GPG Key ID: 6B4D566AC36626F6

View File

@ -169,14 +169,13 @@ class RecordSetService(
isRecordTypeAllowed = checkIfInAllowedRecordType(zone, dottedHostsConfig, rsForValidations)
isRecordTypeAndUserAllowed = isAllowedUser && isRecordTypeAllowed
allowedDotsLimit = getAllowedDotsLimit(zone, dottedHostsConfig)
recordFqdnDoesNotAlreadyExist <- recordFQDNDoesNotExist(rsForValidations, zone).toResult[Boolean]
_ <- typeSpecificValidations(
rsForValidations,
existingRecordsWithName,
zone,
Some(existing),
approvedNameServers,
recordFqdnDoesNotAlreadyExist,
true,
allowedZoneList,
isRecordTypeAndUserAllowed,
allowedDotsLimit