Solved

Best practice DNS alias name length

Posted on 2010-09-16
6
2,053 Views
Last Modified: 2012-06-21
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
0
Comment
Question by:slemmesmi
6 Comments
 
LVL 7

Accepted Solution

by:
myhc earned 334 total points
ID: 33690700
http://en.wikipedia.org/wiki/Domain_Name_System

The full domain name may not exceed a total length of 253 characters
0
 
LVL 7

Assisted Solution

by:myhc
myhc earned 334 total points
ID: 33690718
3. Not that i'm aware of. it's it's invalid then it won't let you set it.

(MCSE Aproved )
0
 
LVL 7

Expert Comment

by:myhc
ID: 33690725
(but not my spelling !!! Approved)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 71

Assisted Solution

by:Chris Dent
Chris Dent earned 166 total points
ID: 33690727

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
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 33690762
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
 
LVL 11

Author Comment

by:slemmesmi
ID: 33699620
@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

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Resolve DNS query failed errors for Exchange
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question