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

NEW RECORD TYPE: DHCID (#2557)

Co-authored-by: Tom Limoncelli <tlimoncelli@tlimworkm1.mynetworksettings.com>
This commit is contained in:
Tom Limoncelli
2023-09-15 09:11:30 -04:00
committed by GitHub
parent 5761028cbe
commit 6ad7f348f7
4 changed files with 59 additions and 57 deletions

View File

@@ -101,7 +101,7 @@ func (rc *RecordConfig) GetTargetSortable() string {
func (rc *RecordConfig) GetTargetDebug() string {
content := fmt.Sprintf("%s %s %s %d", rc.Type, rc.NameFQDN, rc.target, rc.TTL)
switch rc.Type { // #rtype_variations
case "A", "AAAA", "CNAME", "NS", "PTR", "TXT", "AKAMAICDN":
case "A", "AAAA", "AKAMAICDN", "CNAME", "DHCID", "NS", "PTR", "TXT":
// Nothing special.
case "AZURE_ALIAS":
content += fmt.Sprintf(" type=%s", rc.AzureAlias["type"])