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

@@ -520,6 +520,7 @@ struct server {
struct serverfd *sfd;
char *domain; /* set if this server only handles a domain. */
int flags, tcpfd, edns_pktsz;
time_t pktsz_reduced;
unsigned int queries, failed_queries;
#ifdef HAVE_LOOP
u32 uid;