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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user