mirror of
https://github.com/joohoi/acme-dns.git
synced 2024-12-22 21:13:54 +07:00
Don't convert static records to lowercase
This commit is contained in:
parent
27e8251d11
commit
22cd445143
2
dns.go
2
dns.go
@ -51,7 +51,7 @@ func (d *DNSServer) Start(errorChannel chan error) {
|
||||
// ParseRecords parses a slice of DNS record string
|
||||
func (d *DNSServer) ParseRecords(config DNSConfig) {
|
||||
for _, v := range config.General.StaticRecords {
|
||||
rr, err := dns.NewRR(strings.ToLower(v))
|
||||
rr, err := dns.NewRR(v)
|
||||
if err != nil {
|
||||
log.WithFields(log.Fields{"error": err.Error(), "rr": v}).Warning("Could not parse RR from config")
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user