what's a valid domain name?

Kevin Darcy kcd at chrysler.com
Mon Oct 31 19:35:58 UTC 2011

On 10/31/2011 6:58 AM, Kristen Eisenberg wrote:
> Ben Croswell writes:
> > In that case technically you are creating undelegated subdomains for 
> each
> > router.
> > The dot is a delimiter and can't be part of a hostname.
> >
> I was thinking you are wrong.
> Period is somewhat permitted in a hostname.
People are using "hostname" to mean different things.

If "hostname" is interpreted to mean "the string that one device uses to 
represent another so that the two of them can communicate", then 
obviously whether dots are permitted in hostnames, will depend wholly on 
what mechanism translates the string into a network address: if the 
mechanism is DNS, or an /etc/hosts file, then dots are permitted in the 
string; in the case of other name-resolution mechanisms (e.g. NetBIOS 
name resolution?), dots may or may not be supported.

If, on the other hand, "hostname" is interpreted to mean "everything 
preceding the first dot in the standard representation of the network 
entity", then by definition such a "hostname" will not, and cannot 
contain a dot.

                                                                     - Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20111031/ef0f843a/attachment.html>

More information about the bind-users mailing list