From b2c7922dcd4d351d02cebaa28f50595c84fb18bd Mon Sep 17 00:00:00 2001 From: Adam Syed Date: Sun, 19 Feb 2017 11:53:35 -0800 Subject: [PATCH] Change check for records to use lowercase representation --- zones.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zones.go b/zones.go index 4974acd7..41d15b7c 100644 --- a/zones.go +++ b/zones.go @@ -281,7 +281,7 @@ func setupZoneData(data map[string]interface{}, Zone *Zone) { continue } - dnsType, ok := recordTypes[rType] + dnsType, ok := recordTypes[strings.ToLower(rType)] if !ok { log.Printf("Unsupported record type '%s'\n", rType) continue