aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
Diffstat (limited to 'ares')
-rw-r--r--ares/nameser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ares/nameser.h b/ares/nameser.h
index 34f8dab32..61741bb5f 100644
--- a/ares/nameser.h
+++ b/ares/nameser.h
@@ -149,6 +149,11 @@ typedef enum __ns_opcode {
#define T_CNAME ns_t_cname
+#define NS_MAXDNAME 256 /* maximum domain name */
+#define MAXDNAME NS_MAXDNAME
+
+#define NS_MAXCDNAME 255 /* maximum compressed domain name */
+#define MAXCDNAME NS_MAXCDNAME
#define NS_PACKETSZ 512 /* maximum packet size */
#define PACKETSZ NS_PACKETSZ