PDA

View Full Version : Subdomain name length limited to 12 characters



Virgo Jaani
05-04-2010, 12:45 PM
Hi-

Just found intresting behaviour of my server and cant find a solutions.

I have dedicated server (I own the damn thing), running CentOS 5.4 with latest DirectAdmin.

Wanted to make subdomain like somename12345.server.com - subdomain part in this url is 13 characters - and it did not solve.

Tried different ways and found that everything below 13 characters solves and everything equal or above, not.

Where is the problem if someone can suggest the directon ?

Regards,

Virgo

DirectAdmin Support
05-05-2010, 08:07 PM
Hello,

I'd say it's more likely an issue with named not being restarted.
Check:
http://help.directadmin.com/item.php?id=107
http://help.directadmin.com/item.php?id=40

and the /var/log/messages log file for any syntax errors.

Try restarting manually, then testing:
/etc/init.d/named restart
dig yoursubdomain.domain.com @127.0.0.1to see if it's resolving locally.

There is a limit to subdomain lengths, it has to do with very long values though to ensure recent versions of named can start (I believe in the 64 character limit range). This limit is not yet enforced by DA, but will be for the next release.

John