aboutsummaryrefslogtreecommitdiff
path: root/resolv/arpa
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/arpa')
-rw-r--r--resolv/arpa/nameser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/arpa/nameser.h b/resolv/arpa/nameser.h
index 7da0aef..2352af6 100644
--- a/resolv/arpa/nameser.h
+++ b/resolv/arpa/nameser.h
@@ -111,7 +111,7 @@
* Define constants based on rfc883
*/
#define PACKETSZ 512 /* maximum packet size */
-#define MAXDNAME 256 /* maximum domain name */
+#define MAXDNAME 1025 /* maximum domain name */
#define MAXCDNAME 255 /* maximum compressed domain name */
#define MAXLABEL 63 /* maximum length of domain label */
#define HFIXEDSZ 12 /* #/bytes of fixed data in header */