1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 10:26:01 -05:00
v2fly/app/dns
Kirill Motkov 0401a91ef4 Some code improvements
* Rewrite empty string checks more idiomatically.
* Change strings.ToLower comparisons to strings.EqualFold.
* Rewrite switch statement with only one case as if.
2019-06-28 17:53:44 +03:00
..
config.pb.go support domain to domain mapping in static host 2019-01-30 21:04:29 +01:00
config.proto support domain to domain mapping in static host 2019-01-30 21:04:29 +01:00
dns.go use new errorgen 2018-09-30 23:08:41 +02:00
errors.generated.go simplify error creation 2018-09-30 18:39:53 +02:00
hosts_test.go fix usability for both IPv4 and v6 in static dns mapping 2019-02-21 00:03:31 +01:00
hosts.go fix usability for both IPv4 and v6 in static dns mapping 2019-02-21 00:03:31 +01:00
nameserver_test.go support querying either IPv4 or IPv6 dns 2018-11-19 20:42:02 +01:00
nameserver.go comments 2019-02-23 00:01:23 +01:00
server_test.go correctly propagate dns errors all the way through. 2019-02-21 13:43:48 +01:00
server.go Some code improvements 2019-06-28 17:53:44 +03:00
udpns.go return error instead of panic, fixes #1638 2019-04-14 08:57:01 +08:00