mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-02-21 06:03:08 +08:00
Don't fatal out on unknown record types in BIND
This commit is contained in:
parent
4c448422dd
commit
988278b612
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue