Commit Graph

48 Commits

Author SHA1 Message Date
Star Brilliant
c4b2236cf9 Do not respond to network error, silently fail to prevent caching of SERVFAIL
Hopefully we can improve the availability of DoH under unstable network environments.
2018-04-26 10:17:14 +08:00
Star Brilliant
5afdee6315 Put EDNS0 at the beginning of the OPT section 2018-04-25 03:05:06 +08:00
Star Brilliant
874a3613e4 Use dns.DefaultMsgSize instead of magic number 4096 2018-04-25 03:04:31 +08:00
Star Brilliant
58e4018ab2 Rename variables 2018-04-24 20:43:24 +08:00
Star Brilliant
f4516429ee Take User-Agent out of common library, that would be better for packaging 2018-04-24 14:25:33 +08:00
Star Brilliant
ff0e9529cb Update User-Agent 2018-04-16 21:35:33 +08:00
Star Brilliant
7d5cf98d2b Fix the "address already in use" issue 2018-04-16 13:58:38 +08:00
Star Brilliant
b9c1bcaad2 Put [::1] into default listen addresses 2018-04-16 13:18:51 +08:00
gdm85
ce656ac3f7 Add client support for multiple listen addresses 2018-04-15 19:57:01 +02:00
Star Brilliant
83f20767ea Update to IETF draft-07 2018-04-13 02:46:03 +08:00
Star Brilliant
236f7931e6 Update to IETF draft-06 2018-04-10 14:02:51 +08:00
Star Brilliant
9562c2fe5c Add 1.1.1.1 and 1.0.0.1 DOH 2018-04-04 00:14:28 +08:00
Star Brilliant
0a107be362 Use absolute path for ../json-dns 2018-04-02 21:07:49 +08:00
Star Brilliant
efa272bc52 Add documentation about /etc/hosts preloading 2018-04-02 17:19:39 +08:00
Star Brilliant
36da908686 Add no_cookies option, update documentation for more instructions on privacy 2018-04-01 23:28:31 +08:00
Star Brilliant
8b45c99dfc Adapt for CloudFlare DNS service 2018-04-01 22:57:18 +08:00
Star Brilliant
542585b1ec Register a new HTTP client whenever an HTTP connection error happens 2018-03-31 01:16:07 +08:00
Star Brilliant
1be17bff4d Fix a problem when a single HTTP error crashes the program 2018-03-23 15:28:42 +08:00
Star Brilliant
ab2bf57995 Comment out the Googl experimental server 2018-03-21 17:17:14 +08:00
Star Brilliant
0e36d3b31b Content-Type auto detection for client 2018-03-21 16:58:42 +08:00
Star Brilliant
2176e14e65 Extract date from Date header 2018-03-21 15:17:36 +08:00
Star Brilliant
2b3a261247 Fix case issue 2018-03-21 04:14:45 +08:00
Star Brilliant
b3f495e50f Use round for TTL values 2018-03-21 02:58:06 +08:00
Star Brilliant
a81a7eff58 It's time to flip the version number 2018-03-21 02:38:13 +08:00
Star Brilliant
2ab2120a39 Implement IETF protocol 2018-03-21 02:01:56 +08:00
Star Brilliant
64664a59b8 Implement IETF protocol 2018-03-21 01:38:21 +08:00
Star Brilliant
521b4b6abc Implement IETF protocol 2018-03-21 00:14:59 +08:00
Star Brilliant
d0af424963 Close idle HTTP connections in case of an HTTP error 2017-12-02 15:17:22 +08:00
Star Brilliant
699c8fba16 Breaking change: Use configuration file 2017-11-30 20:42:30 +08:00
Star Brilliant
c42303e93e Improve DNS error handling 2017-11-30 17:09:55 +08:00
Star Brilliant
75ccb21ac8 Add ResponseHeaderTimeout 2017-11-30 16:24:50 +08:00
Star Brilliant
f49b5a3a0b Modify HTTP status codes to affect the error 2017-11-30 16:24:29 +08:00
Star Brilliant
c4412e2993 Enable Cookie, which might have better CDN cache performance 2017-11-30 15:53:13 +08:00
Star Brilliant
892066d4a3 Enable Cookie, which might have better CDN cache performance 2017-11-30 15:48:45 +08:00
Star Brilliant
1b998d13de Relicense as MIT license 2017-11-29 10:45:04 +08:00
Star Brilliant
d3f7665529 Check HTTP status code 2017-11-29 10:33:47 +08:00
Star Brilliant
a0bd8eb8a1 Allow multiple bootstrap servers 2017-11-25 15:46:29 +08:00
Star Brilliant
2577b720c7 Disable logging by default 2017-11-25 15:05:15 +08:00
Star Brilliant
244af0e631 Add option -no-ecs 2017-11-24 22:04:36 +08:00
Star Brilliant
f621d88d99 Turn requests lower case (to get rid of knot-resolver's mixed case) 2017-11-16 15:47:42 +08:00
Star Brilliant
6f78bd1ff0 Add bootstrap server option 2017-11-16 15:07:23 +08:00
Star Brilliant
1668f0f18c Revert "Set ECS prefix as scope"
This reverts commit 82c793d78d.
2017-10-04 14:27:02 +08:00
Star Brilliant
82c793d78d Set ECS prefix as scope 2017-10-04 13:32:23 +08:00
Star Brilliant
e382ff415f Add Readme 2017-10-04 12:30:41 +08:00
Star Brilliant
45e42fe83c Change default port 2017-10-04 00:58:33 +08:00
Star Brilliant
5e1b33bab5 Update 2017-10-04 00:49:45 +08:00
Star Brilliant
89bdf90c73 Fix segfault 2017-10-04 00:35:22 +08:00
Star Brilliant
1f8b1ea7ad Update 2017-10-03 23:50:16 +08:00