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 .
- 27 Feb, 2019 5 commits
-
-
Nguyen Quang Huy authored
From [Golang coding convention](https://github.com/golang/go/wiki/CodeReviewComments#error-strings) Co-Authored-By: Nguyen Van Trung [trungnvfet@outlook.com](mailto:trungnvfet@outlook.com) Signed-off-by: Nguyen Quang Huy [huynq0911@gmail.com](mailto:huynq0911@gmail.com)
-
Nguyen Van Duc authored
Signed-off-by:vanduc95 <ducnv@vn.fujitsu.com>
-
tuanvcw authored
Signed-off-by:Vu Cong Tuan <tuanvc@vn.fujitsu.com>
-
Nguyen Hai Truong authored
Ignore temporary files *~ when editting source codes with emacs. Co-Authored-By: Dao Cong Tien tiendc@vn.fujitsu.com Signed-off-by:Nguyen Hai Truong <truongnh@vn.fujitsu.com>
-
Nguyen Hai Truong authored
Signed-off-by:Nguyen Hai Truong <truongnh@vn.fujitsu.com>
-
- 26 Feb, 2019 1 commit
-
-
Andrey Meshkov authored
* Fixing panic in case if there's no response There could be a situation when there's no response after ServeDNS call. With the current implementation, this leads to panic. * Add comment
-
- 25 Feb, 2019 3 commits
-
-
Miek Gieben authored
Signed-off-by:Miek Gieben <miek@miek.nl>
-
LongKB authored
Currently, the modified link is out of date. This patch aims to update this link to the working one that user can access. Co-Authored-By:
Nguyen Phuong An <AnNP@vn.fujitsu.com> Signed-off-by:
Kim Bao Long <longkb@vn.fujitsu.com>
-
Miek Gieben authored
There is no need to do this at the top of the handler, move this down into the function. Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 24 Feb, 2019 2 commits
-
-
Nguyen Hai Truong authored
Automatically submitted.
-
Darshan Chaudhary authored
Signed-off-by:darshanime <deathbullet@gmail.com>
-
- 22 Feb, 2019 2 commits
-
-
JoeWrightss authored
Signed-off-by:zhoulin xie <zhoulin.xie@daocloud.io>
-
Yong Tang authored
Part of the changes in 2591 modifies the vendor directory which should not be modified. `dep ensure` will change it back. This fix reverts the change of ``` vendor/github.com/apache/thrift/lib/go/thrift/simple_json_protocol.go ``` in 2591. Signed-off-by:Yong Tang <yong.tang.github@outlook.com>
-
- 21 Feb, 2019 6 commits
-
-
Nguyen Hai Truong authored
Although it is spelling mistakes, it might make an affects while reading. Signed-off-by:Nguyen Hai Truong <truongnh@vn.fujitsu.com>
-
LongKB authored
Currently, there are some links that we access with **HTTP**, it is redirected to **HTTPS** automatically. So this commit aims to replace **http://...** by **https://...** for security. Co-Authored-By:
Nguyen Phuong An <AnNP@vn.fujitsu.com> Signed-off-by:
Kim Bao Long <longkb@vn.fujitsu.com>
-
Xiao An authored
Signed-off-by:Xiao An <hac@zju.edu.cn>
-
Miek Gieben authored
Signed-off-by:Miek Gieben <miek@miek.nl>
-
Guillaume Gelin authored
-
Nguyen Hai Truong authored
Although it is spelling mistakes, it might make an affects while reading. Signed-off-by:Nguyen Hai Truong <truongnh@vn.fujitsu.com>
-
- 20 Feb, 2019 1 commit
-
-
Nguyen Phuong An authored
Signed-off-by:Nguyen Phuong An <AnNP@vn.fujitsu.com>
-
- 19 Feb, 2019 1 commit
-
-
Nguyen Hai Truong authored
Although it is spelling mistakes, it might make an affects while reading. Signed-off-by:Nguyen Hai Truong <truongnh@vn.fujitsu.com>
-
- 18 Feb, 2019 2 commits
-
-
Uladzimir Trehubenka authored
-
Miek Gieben authored
Guard the access of h.size as this is now a data race. Fixes #2571 Signed-off-by:Miek Gieben <miek@miek.nl>
-
- 17 Feb, 2019 9 commits
-
-
Miek Gieben authored
* Upgrade caddy to 0.11.2 Redo of #2505 (cherry-picked commit) Signed-off-by:
Miek Gieben <miek@miek.nl> * .4 has been released Signed-off-by:
Miek Gieben <miek@miek.nl>
-
Miek Gieben authored
Reload didn't take proper care to protect the fields from use in different goroutines. Add a mutex and add helpers for usage and interval. Signed-off-by:Miek Gieben <miek@miek.nl>
-
mrasu authored
Automatically submitted.
-
mrasu authored
TestLookupAutoPathErratic sometimes fail on TravisCI saying below ``` === RUN TestLookupAutoPathErratic --- FAIL: TestLookupAutoPathErratic (8.30s) erratic_autopath_test.go:39: Test 0, failed to sent query: "read udp [::1]:39758->[::1]:56643: i/o timeout" FAIL ``` The failure happens when Google replies slowly. This PR changes to not use Google but run CoreDNS locally and proxy to the server. --- Because the failure depends on Google, sometimes it happens frequently but sometimes it doesn't happen. I hope following test help you reproduce it. ``` func TestLookupAutoPathErratic2(t *testing.T) { for i := 0; i < 200; i++ { TestLookupAutoPathErratic(t) } } ``` or I can reproduce it by changing proxy to other DNS like 1.1.1.1 instead of 8.8.8.8 too -
Sandeep Rajan authored
-
DO ANH TUAN authored
-
Nguyen Quang Huy authored
Imports should be sorted by Go coding convention
-
Nguyen Quang Huy authored
* Fix some typos Corect some words for reading more easily * Update NOERROR response code NOERROR is a response code so I revert the typo checking for it
-
Brian Bao authored
-
- 15 Feb, 2019 1 commit
-
-
Nguyen Van Trung authored
Signed-off-by:Nguyen Van Trung <trungnv@vn.fujitsu.com>
-
- 13 Feb, 2019 2 commits
-
-
Anders Ingemann authored
The [ADDRESS] field in the metrics plugin is not explained in a manner that makes it immediately obvious, that what we are talking about here is a listening address.
-
Thomas Mangin authored
* plugin/hosts provide more configuration flexibility This patch adds few features to the host plugin * no-reverse (both as first argument on the plugin line and inline) disable the automatic generation of reserve entries for hosts * ttl <duration> (inline only atm) allows to change the default ttl (default 5 minutes) * reload <duration> (inline only atm) allows to change the reloading interval (default 5s) * plugin/hosts remove superfluous parameters to parse
-
- 12 Feb, 2019 1 commit
-
-
Miek Gieben authored
* pkg/replace: make it more efficient. Remove the map that is allocated on every write and make it more static, but just defining a function that gets called for a label and returns its value. Remove the interface definition and just implement what is needed in our case. Add benchmark test for replace as well. Extend metadata test to test multiple values (pretty sure this didn't work, but there wasn't a test for it, so can't be sure). Update all callers to use it - concurrent use should be fine as we pass everything by value. Benchmarks in replacer: new: BenchmarkReplacer-4 300000 4717 ns/op 240 B/op 8 allocs/op old: BenchmarkReplacer-4 300000 4368 ns/op 384 B/op 11 allocs/op Added benchmark function to the old code to test it. ~~~ func BenchmarkReplacer(b *testing.B) { w := dnstest.NewRecorder(&test.ResponseWriter{}) r := new(dns.Msg) r.SetQuestion("example.org.", dns.TypeHINFO) r.MsgHdr.AuthenticatedData = true b.ResetTimer() b.ReportAllocs() repl := New(context.TODO(), r, w, "") for i := 0; i < b.N; i++ { repl.Replace("{type} {name} {size}") } } ~~~ New code contains (of course a different one). The amount of ops is more, which might be good to look at some more. For all the allocations is seems it was quite performant. This looks to be 50% faster, and there is less allocations in log plugin: old: BenchmarkLogged-4 20000 70526 ns/op new: BenchmarkLogged-4 30000 57558 ns/op Signed-off-by:Miek Gieben <miek@miek.nl> * Stickler bot Signed-off-by:
Miek Gieben <miek@miek.nl> * Improve test coverage Signed-off-by:
Miek Gieben <miek@miek.nl> * typo Signed-off-by:
Miek Gieben <miek@miek.nl> * Add test for malformed log lines Signed-off-by:
Miek Gieben <miek@miek.nl>
-
- 11 Feb, 2019 2 commits
-
-
Miek Gieben authored
This was added, but didn't see any use. For a large, complex chunk of code we should have some users of it. Remove all watch functionally from plugins, servers and packages. Fixes: #2548 Signed-off-by:Miek Gieben <miek@miek.nl>
-
JoeWrightss authored
Signed-off-by:zhoulin xie <zhoulin.xie@daocloud.io>
-
- 09 Feb, 2019 2 commits
-
-
Brian Bao authored
-
mrasu authored
Currently, when you run `TestEtcdCredentials` at etcd_credentials_test.go multiple times without clearing data of etcd, you will get following errors. ``` etcd_credentials_test.go:38: Failed to create root role: etcdserver: role name already exists etcd_credentials_test.go:41: Failed to create user: etcdserver: user name already exists ```
-