Best practice DNS alias name length

Dear forum,

My situation:
I need to create a DNS alias for a FQDN, to be configured (you could say "hard-coded") in configuration of an application to be installed on a number of PC's.
No user will be manually addressing the alias (e.g. such as www.mydomain.com) and the alias will be entered only once into application installation image.
On one hand I'd like a short alias name, but on the other I want to have a name which is clearly and easily indetifiable (such as applicationxyzlicenseserver.mydomain.com).
My DNS is integrated with Windows Server 2003/2008 AD.

My questions:
1. What is the maximum length of a DNS alias name in DNS integrated with Windows Server 2003/2008 AD?
2. Can you refer to a best practice document/guide, which covers the recommended maximum length (if any) for a DNS alias?
3. Is there something I must be cautious about in regards to "a long" DNS alias name in DNS integrated with Windows Server 2003/2008 AD?

What I am not interested in:
Documentation/guide which describes creation of DNS alias, but does not mention the recommended length of the alias name.

Kind regards,
Soren
LVL 11
slemmesmiAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
myhcConnect With a Mentor Commented:
http://en.wikipedia.org/wiki/Domain_Name_System

The full domain name may not exceed a total length of 253 characters
0
 
myhcConnect With a Mentor Commented:
3. Not that i'm aware of. it's it's invalid then it won't let you set it.

(MCSE Aproved )
0
 
myhcCommented:
(but not my spelling !!! Approved)
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
Chris DentConnect With a Mentor PowerShell DeveloperCommented:

Defined here:

http://www.ietf.org/rfc/rfc1035.txt

Each label can be a maximum of 63 characters (each character represented by a binary octet), and the total permissable length is 255 characters (including periods, dots).

Chris
0
 
Krzysztof PytkoSenior Active Directory EngineerCommented:
In your case it doesn't matter if it is too long (not longer that byte range 255 characters). Because you will hard-code it in application, so it is better to use clear name in DNS for your eyes :) Application wouldn't recognize a difference :]
0
 
slemmesmiAuthor Commented:
@myhc: Your reply answer all my 3 questions and I will accept that as the solution.
@Chris-Dent: Your reply provides useful additional details, which I will accept as assisted solution.

Thanks for your answers - TGIF!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.