Merge pull request #1 from sayotte/cname-length-fix

Increase size of 'cname' member of struct resourcerecord to 1024 from 64
This commit is contained in:
Ben Klang
2013-01-01 15:40:34 -08:00

View File

@@ -106,7 +106,7 @@ struct resourcerecord
char type[16];
char ipaddr[256][80];
char cipaddr[80];
char cname[64];
char cname[1024]; /* large enough to store DKIM entries, which by rfc5322 have an upper-limit of 998chars */
char ttl[12];
char timestamp[20];
char preference[12];