This project is mirrored from https://github.com/coredns/coredns.git.
The repository failed to update .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update .
- 25 Jul, 2019 1 commit
-
-
Erfan Besharat authored
-
- 24 Jul, 2019 1 commit
-
-
Miek Gieben authored
* plugin/file: simplify locking Simplify the locking, remove the reloadMu and just piggyback on the other lock for accessing content, which assumes things can be move underneath. Copy the Apex and Zone to new vars to make sure the pointer isn't updated from under us. The releadMu isn't need at all, the time.Ticker firing while we're reading means we will just miss that tick and get it on the next go. Add rrutil subpackage and put some more generic functions in there, that are now used from file and the tree package. This removes some duplication. Rename additionalProcessing that didn't actually do that to externalLookup, because that's what being done at some point. Signed-off-by:
Miek Gieben <miek@miek.nl> * Update plugin/file/lookup.go Co-Authored-By:
Michael Grosser <development@stp-ip.net>
-
- 23 Jul, 2019 2 commits
-
-
dependabot-preview[bot] authored
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.21.1 to 1.21.2. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.21.1...v1.21.2) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com>
-
Mat Lowery authored
-
- 22 Jul, 2019 1 commit
-
-
dependabot-preview[bot] authored
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.21.0 to 1.21.1. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.21.0...v1.21.1) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com>
-
- 21 Jul, 2019 1 commit
-
-
Miek Gieben authored
After calling NewZone the number of records should be zero, but due to how zone.All() was implemented so empty RRs would be added. This then fails the == 0 check in xfr.go and put nil in the slice, this then subsequently panics on the Len(). Fix this making All() smarter when adding records. Added little test to enfore this. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 19 Jul, 2019 6 commits
-
-
dependabot-preview[bot] authored
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.20.20 to 1.21.0. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.20.20...v1.21.0) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com>
-
Charlie Vieth authored
* pkg/cache: fix race in Add() and Evict() This fixes a race in Add() when the shard is at max capacity and the key being added is already stored. Previously, the shard would evict a random value - when all it needed to do was replace an existing value. There was a race in how Evict() picked which key to remove, which would cause concurrent calls to Evict() to remove the same key. Additionally, this commit removes a lot of the lock contention and a race around Add() and Evict() by changing them to immediately hold the write lock. Previously, they would check conditions with the read lock held and not re-check those conditions once the write lock was acquired (this is a race). * pkg/cache: code review comments * pkg/cache: simplify Add() logic
-
Christian Muehlhaeuser authored
-
Christian Muehlhaeuser authored
Just a nitpicky typo fix.
-
Miek Gieben authored
* plugin/file: Rename do to walk, cleanup and document * This renames Do to Walk to be more inline with Go standards. Also make it return an error instead of a bool. Also give give walk access to rrs. Alternatively e.m could be exported, but just access the map of rrs should work as well. Another alternative would be adding a whole bunch of helper functions, but those need grab and return the data. Just having access to the rrs should be easiest for most Walks. * It adds Type and TypeForWildcard to show the different functions * *Removes* the identical RR check when inserting; this was only done for A, AAAA and MX and not finished; removed under the mantra garbage in garbage out. * Reuses Types to return all the types in an *tree.Elem Signed-off-by:
Miek Gieben <miek@miek.nl> * better comments Signed-off-by:
Miek Gieben <miek@miek.nl>
-
dependabot-preview[bot] authored
Bumps [gopkg.in/DataDog/dd-trace-go.v1](https://github.com/DataDog/dd-trace-go) from 1.15.0 to 1.16.0. - [Release notes](https://github.com/DataDog/dd-trace-go/releases) - [Commits](https://github.com/DataDog/dd-trace-go/compare/v1.15.0...v1.16.0) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com>
-
- 18 Jul, 2019 2 commits
-
-
Miek Gieben authored
* plugin/file: fix setting ReloadInterval The reload interval was only correctly set if there was an extra block for the file. Move this down to set up. Add test case that fails before, but now works. Signed-off-by:
Miek Gieben <miek@miek.nl> * layout and use Errorf Signed-off-by:
Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Adjust style to rest fo the plugins. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 17 Jul, 2019 2 commits
-
-
Charlie Vieth authored
* replacer: evaluate format once and improve perf by ~3x This improves the performance of logging by almost 3x and reduces memory usage by ~8x. Benchmark results: benchmark old ns/op new ns/op delta BenchmarkReplacer-12 644 324 -49.69% BenchmarkReplacer_CommonLogFormat-12 4228 1471 -65.21% benchmark old allocs new allocs delta BenchmarkReplacer-12 8 2 -75.00% BenchmarkReplacer_CommonLogFormat-12 51 17 -66.67% benchmark old bytes new bytes delta BenchmarkReplacer-12 240 48 -80.00% BenchmarkReplacer_CommonLogFormat-12 3723 446 -88.02% * replacer: code review comments * bufPool: document why we use a pointer to a slice * parseFormat: fix confusing comment * TestParseFormat_Nodes: rename to TestParseFormatNodes * replacer: use a value for bufPool instead of a pointer * replacer: remove comment * replacer: replace labels with knownLabels The previous slice of label names is no longer needed.
-
Charlie Vieth authored
* log: use ioutil.Discard as write buffer in benchmark Using a buffer gives unrealistic stats and consumes a large amount of memory. * log: lazily check if a msg should be logged * log: improve variable name Change 'ok' to the more descriptive 'shouldLog'. * log: code comments: don't reuse variable
-
- 16 Jul, 2019 1 commit
-
-
dependabot-preview[bot] authored
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.20.17 to 1.20.20. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.20.17...v1.20.20) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com>
-
- 15 Jul, 2019 2 commits
-
-
Anshul Sharma authored
- Fix the ability for CoreDNS to fetch credentials via IAM
-
Jintao Zhang authored
Signed-off-by:Jintao Zhang <zhangjintao9020@gmail.com>
-
- 14 Jul, 2019 1 commit
-
-
Charlie Vieth authored
Nothing it declares is used by CoreDNS and it does not appear to be used by any third-party packages (according to godoc.org).
-
- 12 Jul, 2019 2 commits
-
-
Miek Gieben authored
miekg/dns recently became more aggressive in setting TC; anything that's chopped of a response results in TC. Amend the tests. Disputable if these TC checks still add something. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Ruslan Drozhdzh authored
* unit test * fix domain length validation * code optimization * remove unit test
-
- 11 Jul, 2019 3 commits
-
-
Miek Gieben authored
Ditch our truncation code and use the upstream one in miekg/dns. This saves code on our end, end upstream is also more efficient as every RR is Len-ed only once. With our bin-search this is not guaranteed. Signed-off-by:Miek Gieben <miek@miek.nl>
-
dependabot-preview[bot] authored
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/golang/protobuf/releases) - [Commits](https://github.com/golang/protobuf/compare/v1.3.1...v1.3.2) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.20.15 to 1.20.17. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.20.15...v1.20.17) Signed-off-by:
dependabot-preview[bot] <support@dependabot.com>
-
- 04 Jul, 2019 9 commits
-
-
Yong Tang authored
This fix fixes the `\ No newline at end of file` in plugin/chaos/zowners.go, by adding `"\n"` to the end of owners_generate.go. Also fixes a gofmt issue in plugin/etcd/setup.go Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Yong Tang authored
This fix updates: - github.com/miekg/dns to 1.15 (#2947) - github.com/aws/aws-sdk-go to 1.20.13 (#2953) - google.golang.org/grpc to 1.22.0 (#2966) This fix fixes #2947 This fix fixes #2953 This fix fixes #2966 Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
Miek Gieben authored
* plugin/file: make non-existent file non-fatal If the zone file being loaded doesn't exist *and* reload is enabled, just wait the file to pop up in the normal Reload routine. If reload is set to 0s; we keep this a fatal error on startup. Aslo fix the ticker in z.Reload(): remove the per second ticks and just use the reload interval for the ticker. Brush up the documentation a bit as well. Fixes: #2951 Signed-off-by:
Miek Gieben <miek@miek.nl> * Stickler and test compile Signed-off-by:
Miek Gieben <miek@miek.nl> * Remove there too Signed-off-by:
Miek Gieben <miek@miek.nl> * Cant README test these because zone files dont exist Signed-off-by:
Miek Gieben <miek@miek.nl>
-
Anshul Sharma authored
- Remove resyncperiod from Kubernetes plugin
-
Anshul Sharma authored
-
Miek Gieben authored
The -cpu flag is a weird one (and copied originally from Caddy), it basically sets GOMAXPROCS which can be *easily* done by just setting that environment variable. Also with systemd and containerized env you set this externally *anyway*, so there is little use to do this again in the binary. Also the option's help was confusing (i.e. percentage of what?). Remove the option and supporting files. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Run through the motions; create manual pages. Run go generate for good measure. Fix typo in Makefile.release while at it. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
* Update notes and make the manual pages Signed-off-by:
Miek Gieben <miek@miek.nl> * better Signed-off-by:
Miek Gieben <miek@miek.nl>
-
- 03 Jul, 2019 4 commits
-
-
John Belamaric authored
* Enable use of metadata in templates * Update README * Don't stash away ctx, instead use a new func
-
Miek Gieben authored
Prompted by the caddy import path changes; prepare a new release. Signed-off-by:Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
* file: close correctlty after AXFR Don't hijack, but wait for the writes to be done and then savely close the connection. Fixes: #2929 Signed-off-by:
Miek Gieben <miek@miek.nl> * Update comment Signed-off-by:
Miek Gieben <miek@miek.nl> * file: close correctlty after AXFR (#2943) apply Signed-off-by:
Miek Gieben <miek@miek.nl>
-
Yong Tang authored
* Update Caddy to 1.0.1, and update import path This fix updates caddy to 1.0.1 and also updates the import path to github.com/caddyserver/caddy This fix fixes 2959 Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Also update plugin.cfg Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Update and bump zplugin.go Signed-off-by:
Yong Tang <yong.tang.github@outlook.com>
-
- 02 Jul, 2019 1 commit
-
-
Miek Gieben authored
`upstream` is not needed as a setting; just set if unconditionally and remove all documentation and tests for it. At some point we want remove the hanlding for `upstream` as well and error out on seeing it. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 30 Jun, 2019 1 commit
-
-
Miek Gieben authored
This fixes a long standing bug: fixes: #1609 Load secondary zones in a go-routine; this required another mutex to protect some fields; I think those were needded anyway because a transfer can also happen when we're running; we just didn't have a test for that situation. The test had to be changed to wait for the transfer to happen at this is async now. Signed-off-by:Miek Gieben <miek@miek.nl>
-