Bugfix, ECS, and makesure max query timeout is about 1000ms

This commit is contained in:
Nick Peng
2018-12-22 20:13:31 +08:00
parent 7aa32069ef
commit f1999ecfd8
5 changed files with 18 additions and 14 deletions

View File

@@ -10,8 +10,8 @@
#define DNS_RR_AAAA_LEN 16
#define DNS_MAX_CNAME_LEN 256
#define DNS_MAX_OPT_LEN 256
#define DNS_IN_PACKSIZE (512 * 2)
#define DNS_PACKSIZE (512 * 8)
#define DNS_IN_PACKSIZE (512 * 4)
#define DNS_PACKSIZE (512 * 10)
#define DNS_DEFAULT_PACKET_SIZE 512
#define DNS_ADDR_FAMILY_IP 1