Commit Graph

33 Commits

Author SHA1 Message Date
Tyler b0efa7143c Fix serverlist issues
continuous-integration/drone/push Build is failing Details
2019-09-26 00:43:17 -04:00
Tyler aae18bc0c9 Fix pubsub, documentation, version 2018-08-05 04:48:26 -04:00
Tyler 3457be7942 Force initial refresh 2018-08-05 00:22:37 -04:00
Tyler c3fb9efaaf Debug env 2018-08-05 00:05:47 -04:00
Tyler 53e24ccdbd Better host file parsing, split hosts into their own sub files 2018-07-01 11:34:01 -04:00
Tyler a6f6c4e96d Updates 2018-06-30 23:08:29 -04: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
shuhai fa750269e7 处理一行多个域名,或者不是标准域名的情况 2017-07-10 18:26:48 +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 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
kenshinx 0c1b4738cd Clear file-backend hosts cache. 2015-10-20 14:01:41 +08:00
kenshinx 21448a51e2 Support multiple A entries refer: #17 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 c5e01db7b5 Host records support wildcard #16 2015-10-14 12:41:08 +08:00
kenshinx cd272bf769 Pretty log output 2015-10-14 01:00:28 +08:00
kenshinx 61f68d2b27 Reinforced domain regex match 2015-07-07 17:32:45 +08:00
kenshinx 5c651bacf3 Oops. Forgot close file handler. 2015-06-12 12:04:23 +08:00
kenshinx 8e504da15a Adaptive with IPV6 in hosts records. 2015-02-12 14:54:02 +08:00
kenshinx 81450a3983 Update hosts records as a regular interval
1. /etc/hosts will be update cycle instead of update once at the progress run
2. Avoid access redis in each requests
2015-02-12 14:09:49 +08:00
kenshinx a5a8615b32 Keep consistence Host struct api 2015-02-11 18:01:05 +08:00
bigeagle ccb72deec7 add option to disable redis 2015-02-05 19:37:57 +08:00
bigeagle 0728359489 redis-enable is now in hosts 2015-02-03 23:09:20 +08:00
bigeagle 952f39ddf2 add option to disable redis 2015-02-03 23:03:47 +08:00
bigeagle 624a46fddc dnsmasq style domain specific server supported 2015-02-03 22:53:57 +08:00
bigeagle ce840f4f50 add IPv6 support 2015-02-03 20:33:54 +08:00
kenshin 272af1e39f syntax error. 2013-07-31 10:43:50 +08:00
kenshin 9ddf8a8939 finally. fix hosts query 2013-07-26 18:54:19 +08:00
kenshin d22885557f read local hosts file 2013-07-26 12:06:16 +08:00