mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Don't fatal out on unknown record types in BIND
This commit is contained in:
@@ -97,7 +97,7 @@ func rrToRecord(rr dns.RR, origin string, replace_serial uint32) (models.RecordC
|
|||||||
case *dns.TXT:
|
case *dns.TXT:
|
||||||
rc.Target = strings.Join(v.Txt, " ")
|
rc.Target = strings.Join(v.Txt, " ")
|
||||||
default:
|
default:
|
||||||
log.Fatalf("Unimplemented zone record type=%s (%v)\n", rc.Type, rr)
|
log.Printf("Unimplemented zone record type=%s (%v)\n", rc.Type, rr)
|
||||||
}
|
}
|
||||||
return rc, old_serial
|
return rc, old_serial
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user