1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

add missing handling of dhcid

This commit is contained in:
Florian Ritterhoff
2023-09-10 08:05:26 +02:00
parent 3e1e7aeb8e
commit b6e183d4b5
7 changed files with 34 additions and 21 deletions

View File

@ -61,6 +61,7 @@ func validateRecordTypes(rec *models.RecordConfig, domain string, pTypes []strin
"ALIAS": false,
"CAA": true,
"CNAME": true,
"DHCID": true,
"DS": true,
"IMPORT_TRANSFORM": false,
"LOC": true,
@ -73,7 +74,6 @@ func validateRecordTypes(rec *models.RecordConfig, domain string, pTypes []strin
"SSHFP": true,
"TLSA": true,
"TXT": true,
"DHCID": true,
}
_, ok := validTypes[rec.Type]
if !ok {