aboutsummaryrefslogtreecommitdiff
path: root/middleware/file/reload_test.go (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-09-14Remove the word middleware (#1067)Gravatar Miek Gieben 1-82/+0
* Rename middleware to plugin first pass; mostly used 'sed', few spots where I manually changed text. This still builds a coredns binary. * fmt error * Rename AddMiddleware to AddPlugin * Readd AddMiddleware to remain backwards compat
2017-06-08middleware/file: don't reload zone when SOA isn't changed (#707)Gravatar Miek Gieben 1-2/+11
* middleware/file: don't reload zone when SOA isn't changed Give Parse an extra argument which is the SOA's serial, if > 0 we check against the just parsed SOA and then just return. Most notable use is in reload.go which is both used in the file and auto middleware. Fixes #415 * PR comments
2017-02-22Fix import path `github.com/miekg/coredns` -> `github.com/coredns/coredns` ↵Gravatar Yong Tang 1-2/+2
(#547) This fix fixes import path from `github.com/miekg/coredns` -> `github.com/coredns/coredns`
2016-11-10Implement external lookups for CNAMEsGravatar Miek Gieben 1-2/+9
2016-10-17middleware/auto: add (#333)Gravatar Miek Gieben 1-1/+2
Add auto-load middleware that automatically picks up zones. Every X seconds it will scan for new zones. Add tests and documentation. Make 'make test' use -race.
2016-10-08tests: clean up outputGravatar Miek Gieben 1-0/+3
Some document improvements and add a few more tests.
2016-10-02Pr 311 2 (#312)Gravatar Miek Gieben 1-1/+1
* Add a setup test for middleware/file This fix adds a setup test for middleware/file so that there is a basic coverage for the Corefile processing of middleware/file. This fix is related to 308 (Will look into it). Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * middleware/file: use helper function for test Fixup setup_test.go and use the test.TempFile function to make things somewhat shorter. Use clean up the use of testing.T in TempFile - it is not used.
2016-09-21Run golint and go vet (#276)Gravatar Miek Gieben 1-1/+1
Cleanup the errors and removed deadcode along the way. The leaves some error laying around, mostly about commenting exported identifier. We should look hard if those really are needed.
2016-04-26Add middleware/dnssec (#133)Gravatar Miek Gieben 1-1/+1
This adds an online dnssec middleware. The middleware will sign responses on the fly. Negative responses are signed with NSEC black lies.
2016-04-15Reload zone when a write is detected (#122)Gravatar Miek Gieben 1-0/+62
Zone reloading