Commit Graph

127 Commits

Author SHA1 Message Date
Tyler 3457be7942 Force initial refresh 2018-08-05 00:22:37 -04:00
Tyler 90407628e0 Add debugging 2018-08-05 00:16:15 -04:00
Tyler a11e9d8375 Add LOG_LEVEL 2018-08-05 00:12:28 -04:00
Tyler c3fb9efaaf Debug env 2018-08-05 00:05:47 -04:00
Tyler b5e5fede9a Redo env parsing 2018-08-04 23:53:11 -04:00
Tyler 0013c1e655 Make GoDNS listen on 0.0.0.0 by default 2018-08-04 21:53:31 -04:00
Tyler bb36b4f9e1 Add server list as another variable, allowing the use of configs/secrets 2018-07-31 22:11:47 -04:00
Tyler cce0739a9b Remove server-list-file 2018-07-31 22:04:03 -04:00
Tyler 2c0b9fb350 Add config to docker, env overrides 2018-07-03 01:35:20 -04:00
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 #37 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 #32 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 #31 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 #30
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 #29 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 #25 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 #27 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 #26
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 #24 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 #21, Make difference response between SERVFAIL and NXDOMAIN #20 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