Commit Graph

45 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 dc14a70e9d Use dns.DefaultMsgSize instead of magic number 4096 2018-04-24 20:46:34 +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 1abba72898 Add server support for multiple listen addresses 2018-04-15 19:57:17 +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 0a107be362 Use absolute path for ../json-dns 2018-04-02 21:07:49 +08:00
Star Brilliant 8b45c99dfc Adapt for CloudFlare DNS service 2018-04-01 22:57:18 +08:00
Star Brilliant cb78b9b696 A DNS API server SHOULD respond with HTTP status code 415 (Unsupported Media Type) upon receiving a media type it is unable to process. 2018-03-24 17:33:50 +08:00
Star Brilliant 972d404ebc Add Last-Modified header 2018-03-23 15:32:51 +08:00
Star Brilliant 06b700cb7e Fix server Content-Type problem 2018-03-21 17:07:40 +08:00
Star Brilliant 0e36d3b31b Content-Type auto detection for client 2018-03-21 16:58:42 +08:00
Star Brilliant 5723558934 Fix Accept header detection 2018-03-21 15:28:47 +08:00
Star Brilliant 1be3052cda Fix cache privateness 2018-03-21 15:08:12 +08:00
Star Brilliant 2b3a261247 Fix case issue 2018-03-21 04:14:45 +08:00
Star Brilliant cefa3a6ba8 Fix HTTP header time zone 2018-03-21 02:52:22 +08:00
Star Brilliant a81a7eff58 It's time to flip the version number 2018-03-21 02:38:13 +08:00
Star Brilliant ebaaa7ff71 Enable verbose for IETF protocol 2018-03-21 02:14:11 +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 f4e27c93a6 Correct time.RFC1123 to http.TimeFormat 2018-01-22 17:45:53 +08:00
Star Brilliant dcd6b0bb57 Add a timeout configuration for server 2018-01-17 20:31:49 +08:00
Star Brilliant 699c8fba16 Breaking change: Use configuration file 2017-11-30 20:42:30 +08:00
Star Brilliant e510d84809 CloudFlare will break 502 error 2017-11-30 19:08:22 +08:00
Star Brilliant f49b5a3a0b Modify HTTP status codes to affect the error 2017-11-30 16:24:29 +08:00
Star Brilliant 5e6be777c9 Alias 0/0 to be 0.0.0.0/0 2017-11-30 13:42:24 +08:00
Star Brilliant 82e9503849 Alias 0/0 to be 0.0.0.0/0 2017-11-30 13:38:59 +08:00
Star Brilliant 1b998d13de Relicense as MIT license 2017-11-29 10:45:04 +08:00
Star Brilliant 2577b720c7 Disable logging by default 2017-11-25 15:05:15 +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 a03529d1fd Mark cache as private 2017-10-04 16:44:42 +08:00
Star Brilliant 43337472b4 Fix HTTP error handling 2017-10-04 14:59:50 +08:00
Star Brilliant 15e6ec1491 Remove X-Edns-Client-Subnet, that is not useful 2017-10-04 14:23:39 +08:00
Star Brilliant e0f127f1b1 Reduce source address reveal 2017-10-04 12:42:18 +08:00
Star Brilliant e382ff415f Add Readme 2017-10-04 12:30:41 +08:00
Star Brilliant c4a57edc7f Change default port 2017-10-04 01:04:33 +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 1f8b1ea7ad Update 2017-10-03 23:50:16 +08:00