1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

62 Commits

Author SHA1 Message Date
José Luis Salvador Rufo
cdf32c509d
Update domain for Cloudflare
Fix #33
2021-01-29 14:24:06 +01:00
Marvin
c720f7bca1
Fix API token permission issue with CloudFlare
When querying CloudFlare for all zones via the API using a restricted API token, CloudFlare responds, that that particular token needs the "com.cloudflare.api.account.zone.list" permission, in order to successfully retrieve all zones.
Adding the parameter "name" with the value of the given domain works around that limitation, as then the API token only needs access to that particular domain.
2020-11-06 20:35:40 +01:00
Timothy
7a60d3415f
fix: DNSPod handler issue for checking IPv4/IPv6 2020-10-01 18:28:31 +08:00
Timothy
a7c2b0a56e
feat: add No-IP provider 2020-08-10 23:49:12 +08:00
Timothy
1ddd1dfb8b
refactor: fix code lint warnings 2020-08-10 14:39:56 +08:00
Timothy
f70f3bc0a3
Merge pull request #77 from wi1dcard/bugfix/alidns-subdomain-contains-another-subdomain-string
Fix update incorrect subdomain record of AliDNS.
2020-07-30 17:57:48 +08:00
wi1dcard
633e1187d0 Fix update incorrect subdomain record of AliDNS. 2020-07-30 12:14:45 +08:00
xliao
0f670c66f9 Fix: the results returned may be limited 2020-07-28 20:26:30 +08:00
xliao
0f9ea20f10 Fix: lastip changes when update request fails 2020-07-28 16:35:03 +08:00
Timothy
81ecf1d096
fix lint error 2020-07-22 23:55:03 +08:00
Jemy Zhang
9186772d50 enable socks for domain update and telegram notification seperately
- add configuration to enable socks for domain update
  and telegram notification seperately.
- sleep to reduce cpu usage while connection error occurred.
2020-05-05 15:32:10 +08:00
Timothy
8a3471ad1c
add DNS resolver, update all the handlers 2020-05-03 21:32:06 +08:00
Timothy
d923cbde61
merge from release branch 2020-05-03 19:50:57 +08:00
Timothy
fcf819bb70
fix Google Domain handler issue #46 2020-05-01 02:26:12 +08:00
Eri Bastos
e8ce3434ee Addressed code review plus missed updates 2020-04-28 18:40:04 -04:00
Eri Bastos
f2e9c0ab00 Add dreamhost handler 2020-04-27 14:28:13 -04:00
Eri Bastos
1c1aa6c420 HE Handler - Use Resolver 2020-04-19 15:34:25 -04:00
Eri Bastos
57ecf1f7bb Duck Handler - Use Resolver 2020-04-19 15:31:49 -04:00
Eri Bastos
9397f6b272 DNSPod Handler - Use Resolver 2020-04-19 15:26:10 -04:00
Eri Bastos
68b729e635 AliDNS Handler - Use Resolver 2020-04-19 15:20:22 -04:00
Eri Bastos
f0a6291406 Replaced cached IP with remote resolver 2020-04-18 12:51:50 -04:00
Jemy Zhang
f5a793a907 Add support to telegram notification 2020-03-21 13:34:54 +08:00
Rick Lei
06a7d2384a Better DNSPod error message handling and ip_type checking
DNSPod API now requires record type to be specified, so the "ip_type"
setting becomes a must in config.json.
2020-02-08 20:30:51 +01:00
Timothy
162b639019
add IPv6 support for DuckDNS 2020-02-06 22:33:55 +08:00
Timothy
2d4d414417
add IPv6 support for DNSPod 2020-02-06 22:07:31 +08:00
Timothy
ad7fb64aa1
add IPv6 support for Cloudflare 2020-02-06 10:32:45 +08:00
Timothy
e9ec737610
add API token support for Cloudflare 2020-02-05 10:38:29 +08:00
test1943
ce60904eda
Preserve TTL value.
Right now ttl value is overwritten to default value every time.
2019-09-26 01:42:02 +08:00
Timothy
18f23c4dcf fix basic auth issue 2019-09-04 10:33:25 +08:00
Timothy
7ea034976a add customized user-agent 2019-09-02 19:05:35 +08:00
Timothy
4f71fbbcc1 fix misspell issue 2019-08-06 10:50:17 +08:00
Timothy
025a5c0bbb refactor handlers 2019-07-30 14:35:13 +08:00
Timothy
91d89d82ce fix DuckDNS handler 2019-07-30 10:24:14 +08:00
Timothy
95529f6de6 add DuckDNS support 2019-07-29 23:53:08 +08:00
Timothy
6eba9cd2d7 Merge branch 'google' 2019-05-23 09:52:02 +08:00
huwenchao
af9a1bb0da chore: make the dns handler error log and readme.md more specificlly 2019-05-11 17:07:43 +08:00
TimothyYe
1d49bcd173 add google handler 2019-04-24 13:10:39 +08:00
TimothyYe
04134b20a4 make interval configurable 2019-04-21 17:18:05 +08:00
TimothyYe
4a3b2216d3 fix lint warnings 2019-02-27 14:10:51 +08:00
TimothyYe
dc376d91b4 fix lint warnings 2019-01-22 20:35:45 +08:00
TimothyYe
57b3c4c79d add AliDNS support 2019-01-22 20:18:19 +08:00
TimothyYe
66187e0269 send mail notification 2019-01-21 11:11:07 +08:00
TimothyYe
304d3cac50 update test case 2019-01-20 15:09:53 +08:00
TimothyYe
6455f324cd update test case 2019-01-20 14:59:17 +08:00
TimothyYe
0fdb8af727 only update sub domain 2019-01-20 14:44:30 +08:00
TimothyYe
6d66016635 update comments 2018-12-07 16:50:56 +08:00
TimothyYe
4c82260c4d format code and fix the go lint warnings 2018-12-07 16:04:59 +08:00
Sad Pencil
851e2d7e46 support for getting an IP from an interface, and skip DNS record update if IP address is the same with last one 2018-12-07 02:50:27 +08:00
Kerma
3598247d64 Fix tests and more linting errors 2018-10-12 20:49:03 +03:00
Kerma
46738d5bc6 Linter fixes 2018-10-12 19:45:04 +03:00