Miek Gieben
3b25bfd7ae
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
2016-04-03 15:52:23 +01:00
Miek Gieben
4a2a95561f
Answer REFUSED when we don't host the zone
...
Change from SERVFAIL to diff. between error and no such zone hosted.
Fixes : #68
2016-04-02 18:11:56 +01:00
Miek Gieben
47fca9a8fc
Proxy cleanups
...
Remove things not supported, fix docs.
2016-03-19 20:53:37 +00:00
Miek Gieben
ec84cb1270
Random fixes and make servfail the special return code
2016-03-19 20:17:44 +00:00
Miek Gieben
33f00b5a3a
Fix failing on startup
...
When we cannot bind to the port, return an error which will make
CoreDNS fail startup. Still a bit hackish, but good enough.
2016-03-19 19:38:54 +00:00
Miek Gieben
f907311cdf
Use context.Context
...
Rename the old Context to State and use context.Context in the
middleware for intra-middleware communication and more.
2016-03-19 07:32:50 +00:00
Miek Gieben
3ec0d9fe6b
First commit
2016-03-18 20:57:35 +00:00