-
Notifications
You must be signed in to change notification settings - Fork 492
Multiple TXT records in apex causes panic #28
Copy link
Copy link
Closed
Labels
Description
Having two apex TXT records causes a panic. e.g. the following config:
TXT('@','google-site-verification=abcd1234'),
TXT('@','google-site-verification=wxyz9876'),
causes panic:
panic: interface conversion: interface {} is nil, not *models.RecordConfig
goroutine 1 [running]:
panic(0xa0e120, 0xc0422be1c0)
/usr/local/go/src/runtime/panic.go:500 +0x1af
github.com/StackExchange/dnscontrol/providers/namedotcom.(*nameDotCom).GetDomainCorrections(0xc0424d1420, 0xc04226c3f0, 0xc0426f17b0, 0xf, 0xc042380658, 0x1, 0x0)
/go/src/github.com/StackExchange/dnscontrol/providers/namedotcom/records.go:44 +0x98c
main.main()
/go/src/github.com/StackExchange/dnscontrol/main.go:184 +0x1051
Reactions are currently unavailable