Commit Graph

118 Commits

Author SHA1 Message Date
Tyler
725f298f2e Better resolver support 2018-07-01 20:47:22 -04:00
Tyler
d1f11f1773 Support DNS over HTTP servers 2018-07-01 18:44:11 -04:00
Tyler
adf6a32039 Redis caching 2018-07-01 11:49:24 -04:00
Tyler
53e24ccdbd Better host file parsing, split hosts into their own sub files 2018-07-01 11:34:01 -04:00
Tyler
b26b3dcb22 We don't need the prefix? 2018-06-30 23:28:04 -04:00
Tyler
d45aaa4260 Fix CI 2018-06-30 23:21:39 -04:00
Tyler
ee63c52b7a Fix CI 2018-06-30 23:20:36 -04:00
Tyler
9856d3f3be Fix CI 2018-06-30 23:19:53 -04:00
Tyler
9e9d9af6bb Fix CI 2018-06-30 23:18:06 -04:00
Tyler
7f876659db Let there be BUILDS 2018-06-30 23:16:46 -04:00
Tyler
63ce0cde19 Gitlab CI! 2018-06-30 23:09:52 -04:00
Tyler
a6f6c4e96d Updates 2018-06-30 23:08:29 -04:00
kenshin
489adb58ef
Merge pull request from kenshinx/domain-specs-nameservers
Domain specs nameservers
2018-02-01 19:27:15 +08:00
kenshinx
ea21c87183 Semicolon separate multiple domain list files and update examples 2018-02-01 19:22:45 +08:00
kenshinx
dc60b4c9a2 Supplement test case, www.google.com should match /google.com/ 2018-02-01 18:39:40 +08:00
kenshinx
4b1d61a600 more pretty logging and ensure query the specific upstream nameserver in async Lookup() function. 2018-02-01 18:30:41 +08:00
kenshinx
063182e0bd use net.JoinHostPort instead of string join 2018-02-01 17:43:28 +08:00
kenshinx
43d8d65438 Extract public functions into utils 2018-02-01 17:09:02 +08:00
kenshinx
2e97278cb9 Merge https://github.com/bigeagle/godns into domain-specs-name-server
# Conflicts:
#	handler.go
#	hosts.go
#	hosts_test.go
#	resolver.go
#	settings.go
2018-02-01 15:39:47 +08:00
kenshin
e742e5dce9 Merge pull request from nutsteam/master
1. Handle multiple domain records in one line
2. Support non-standard domain, e.g. localhost
2017-07-10 19:49:30 +08:00
shuhai
fa750269e7 处理一行多个域名,或者不是标准域名的情况 2017-07-10 18:26:48 +08:00
kenshinx
4201a5d5b8 Update documents 2017-05-18 18:28:23 +08:00
kenshinx
3be40025e0 fix: use sld match instead of string suffix match 2017-05-18 18:22:15 +08:00
kenshinx
5f42911d12 File hosts support widlcard 2017-05-18 18:10:33 +08:00
kenshinx
829c7af1bc fix: concurrent iteration map need lock. 2017-05-18 17:29:56 +08:00
kenshinx
4d3d475c27 Support for larger UDP DNS responses
As [RFC6891](https://tools.ietf.org/html/rfc6891) define, Extension Mechanisms for DNS(EDNS(0)) can make UDP DNS response packets reach max 65535 bytes and breakthrough the early [RFC1035](‘https://tools.ietf.org/html/rfc1035’) 512 limitation.
2017-02-15 01:08:08 +08:00
kenshin
7d1f6af220 Merge pull request from HorayNarea/master
use net.JoinHostPort() instead of string-join directly
2017-02-08 10:20:36 +08:00
Thomas Sänger
4a66022d50 use net.JoinHostPort() 2017-02-07 06:07:58 +01:00
kenshin
9e3c916046 Merge pull request from dbalan/memcached_backend_support
Memcached backend support
2017-01-19 12:06:14 +08:00
Dhananjay Balan
0f184ca72b Revert default config changes. 2017-01-18 16:07:54 +01:00
kenshin
eee2400d76 Merge pull request from h4ck3rm1k3/patch-1
Update README.md
2016-09-28 10:06:01 +08:00
James Michael DuPont
0cfd863c01 Update README.md 2016-09-27 07:27:36 -04:00
kenshinx
8492d8c679 Make host records refresh interval be configurable 2016-09-18 12:04:21 +08:00
kenshinx
8e14764aa7
1.Ensure hosts records refresh and get operation is thread safe.
2. Clear redis backend hosts records  during refresh operation.
2016-09-06 12:02:20 +08:00
kenshinx
4275900fb2 Add ToLower to all domain fields 2016-02-15 12:34:24 +08:00
Dhananjay Balan
790acb55da Use pack and unpack from dns library. 2016-02-13 15:25:19 +05:30
Dhananjay Balan
8c4b338257 Add intial memcache support.
FIXME: serialization needs work.
2016-02-12 21:38:48 +05:30
Dhananjay Balan
b541f6e371 Add memcache config entries 2016-02-12 18:59:25 +05:30
kenshinx
fde6624777 Merge from , Make difference response between SERVFAIL and NXDOMAIN 2015-10-30 12:24:22 +08:00
kenshinx
0c1b4738cd Clear file-backend hosts cache. 2015-10-20 14:01:41 +08:00
kenshinx
48b8c9a58e Default log level: INFO 2015-10-20 13:59:22 +08:00
kenshin
747c20b0fc Update README.md 2015-10-15 19:49:54 +08:00
kenshinx
7b65c176dd Update document 2015-10-15 19:16:05 +08:00
kenshinx
6e2c310fc8 typo 2015-10-15 19:12:59 +08:00
kenshinx
bf6cad986a Remove blank line. 2015-10-15 11:00:09 +08:00
kenshinx
a78e7fbdf7 Update version & close debug default 2015-10-15 01:11:04 +08:00
kenshinx
21448a51e2 Support multiple A entries refer: 2015-10-15 01:08:25 +08:00
kenshinx
dcf31e1b22 Only redis-backend hosts support wildcard
I don't break the `/etc/hosts` standard that defined in man pages.
2015-10-15 00:40:34 +08:00
kenshinx
44a3923878 CPU & MEM pprof output 2015-10-14 15:21:21 +08:00
kenshinx
c37e8c947b typo 2015-10-14 15:19:28 +08:00