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:
Miek Gieben
2016-04-03 15:52:23 +01:00
parent e41e8683bd
commit 3b25bfd7ae
5 changed files with 32 additions and 38 deletions

View File

@@ -207,7 +207,7 @@ func setVersion() {
}
}
const appName = "Caddy"
const appName = "CoreDNS"
// Flags that control program flow or startup
var (