Move DNS TTL definitions to header; add TTL for answers to legacy unicast queries.
fe
This commit is contained in:
parent
17ef47d6f2
commit
2ce1bb8ae4
4
mdns.c
4
mdns.c
@ -40,10 +40,6 @@
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
/* see RFC 6762 Section 10 */
|
||||
#define DEFAULT_TTL_FOR_RECORD_WITH_HOSTNAME 120
|
||||
#define DEFAULT_TTL 4500
|
||||
|
||||
/* DETECT_CYCLE checks malformed packet you should handle the value carefully */
|
||||
/* https://www.kb.cert.org/vuls/id/23495 */
|
||||
#define DETECT_CYCLE 255
|
||||
|
Loading…
Reference in New Issue
Block a user