aboutsummaryrefslogtreecommitdiff
path: root/src/common/dns_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/dns_utils.h')
-rw-r--r--src/common/dns_utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/dns_utils.h b/src/common/dns_utils.h
index 375f6ba30..d22e3fb1f 100644
--- a/src/common/dns_utils.h
+++ b/src/common/dns_utils.h
@@ -32,6 +32,12 @@
namespace tools
{
+// RFC defines for record types and classes for DNS, gleaned from ldns source
+const static int DNS_CLASS_IN = 1;
+const static int DNS_TYPE_A = 1;
+const static int DNS_TYPE_TXT = 6;
+const static int DNS_TYPE_AAAA = 8;
+
struct DNSResolverData;
/**