max hostname lengths (MAXHOSTNAMELEN ?)

Sivakumar Thiyagarajan sivakumar_id at yahoo.com
Thu Jun 28 19:24:52 UTC 2001


  
Hi Gurus,
    Is there any maximum length for a host name or alias name for BIND 
dns entries? If so, can this max length customised?

I have obzerved that nsupdate does not allow host names more than 62 chars long ( weird number ). 

Heres the nsupdate output (interactive mode )...

% nsupdate

> update add <bighostname> 33 in a 172.35.64.34

res_update: mkquery failed
failed update packet

>  

 I did find a #define MAXHOSTNAMELEN in the /usr/include/netdb.h file but can't see it being used in nsupdate.c or any other source in BIND 8.1.2 

Am I dealing with an nsupdate limit here or is it a DNS limit on hostname lengths ? 

thanks
Sivakumar

 



---------------------------------
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 a year!
http://personal.mail.yahoo.com/



More information about the bind-users mailing list