mirror of
https://github.com/coredns/coredns.git
synced 2025-10-31 18:23:13 -04:00
Fix Corefile parsing
Fix some file/secondary issues when parsing a Corefile, also allow for multiple origins to be specified. Also don't fail on startup when a zonetransfer fails. Fixes: #54
This commit is contained in:
@@ -273,6 +273,7 @@ func (s *Server) ServeDNS(w dns.ResponseWriter, r *dns.Msg) {
|
||||
b := make([]byte, len(q))
|
||||
off, end := 0, false
|
||||
ctx := context.Background()
|
||||
|
||||
for {
|
||||
l := len(q[off:])
|
||||
for i := 0; i < l; i++ {
|
||||
|
||||
Reference in New Issue
Block a user