only queries for doains ending with recently added generic TLDs which can be useful for tracking down hosts using internal names (maybe by relying on automatic qualification of names i.e. xy.prod -> xy.prod.example.com) that will conflict with new GTLDs. As the release notes put it, 'If you use short (not fully qualified) names internally you may be uknownlying[sic] relying on root (or other) name servers to return NXDOMAIN for them. If so, "you're gonna have a bad time."'
12 lines
433 B
Plaintext
12 lines
433 B
Plaintext
$OpenBSD: patch-dnstop_c,v 1.8 2014/09/16 10:32:39 sthen Exp $
|
|
--- dnstop.c.orig Mon Sep 15 18:54:51 2014
|
|
+++ dnstop.c Tue Sep 16 11:23:38 2014
|
|
@@ -46,6 +46,7 @@ static const char *Version = "20140915";
|
|
#include <netdb.h>
|
|
|
|
#ifdef HAVE_NET_IF_PPP_H
|
|
+#include <net/ppp_defs.h>
|
|
#include <net/if_ppp.h>
|
|
#define PPP_ADDRESS_VAL 0xff /* The address byte value */
|
|
#define PPP_CONTROL_VAL 0x03 /* The control byte value */
|