Try to be a little more clever at falling back to smaller DNS packet sizes.

This commit is contained in:
Simon Kelley
2018-01-19 22:00:05 +00:00
parent 4fe6744a22
commit c1a4e257a3
3 changed files with 20 additions and 8 deletions

View File

@@ -26,6 +26,7 @@
#define TIMEOUT 10 /* drop UDP queries after TIMEOUT seconds */
#define FORWARD_TEST 50 /* try all servers every 50 queries */
#define FORWARD_TIME 20 /* or 20 seconds */
#define UDP_TEST_TIME 60 /* How often to reset our idea of max packet size. */
#define SERVERS_LOGGED 30 /* Only log this many servers when logging state */
#define LOCALS_LOGGED 8 /* Only log this many local addresses when logging state */
#define RANDOM_SOCKS 64 /* max simultaneous random ports */