Discussion:
SRV, www.*, news.*
(too old to reply)
Ivan Shmakov
2012-07-07 06:59:20 UTC
Permalink
Do I understand it correctly that the only "user" protocols
widely deployed in the Internet of today that don't use the SRV
(or MX, etc.) records (and thus may want separate DNS names,
such as www.example.org and news.example.org) are HTTP and NNTP?

I see that a number of services (e. g., Kerberos 5, SMTP, XMPP)
use a kind of a pointer to tie the DNS name to the server, while
HTTP and NNTP don't use one, preasumably for historical reasons.

Now, is there any other function that the "www" DNS name prefix
could serve? Shouldn't thus, e. g., http://www.debian.org/,
http://www.gnu.org/ and http://www.w3.org/, become simply
http://debian.org/, and so on? FWIW, there're
http://duckduckgo.com/, http://freecode.com/, and a number of
other similar ones. As long as the site in question doesn't
plan to deploy NNTP, it seems more than reasonable to drop the
leading "www".

TIA.
--
FSF associate member #7257
Thor Kottelin
2012-07-07 07:38:41 UTC
Permalink
Post by Ivan Shmakov
Do I understand it correctly that the only "user" protocols
widely deployed in the Internet of today that don't use the SRV
(or MX, etc.) records (and thus may want separate DNS names,
such as www.example.org and news.example.org) are HTTP and NNTP?
In the scheme of things, the use of MX or SRV records is an exception
rather than a rule. Most protocols use A records. In addition to the omes
you mention, prominent examples include SMTP mail submission (from MUA to
MSA), POP, IMAP, DNS, SSH, IRC, NTP and Whois. There is also a myriad of
poorly known protocols implemented over TCP by various application makers
to perform specific tasks.
Post by Ivan Shmakov
Now, is there any other function that the "www" DNS name prefix
could serve? Shouldn't thus, e. g., http://www.debian.org/,
http://www.gnu.org/ and http://www.w3.org/, become simply
http://debian.org/, and so on? FWIW, there're
http://duckduckgo.com/, http://freecode.com/, and a number of
other similar ones. As long as the site in question doesn't
plan to deploy NNTP, it seems more than reasonable to drop the
leading "www".
I think it makes sense to avoid using subdomains for web hosting. In many
cases, the web site is the most important use for a domain name. It seems
to become more and more common to use plain example.com for the website
and foo.example.com, bar.example.com et cetera for other services.
--
Thor Kottelin
http://www.anta.net/
Ivan Shmakov
2012-07-07 08:57:24 UTC
Permalink
Post by Thor Kottelin
Do I understand it correctly that the only "user" protocols widely
deployed in the Internet of today that don't use the SRV (or MX,
etc.) records (and thus may want separate DNS names, such as
www.example.org and news.example.org) are HTTP and NNTP?
In the scheme of things, the use of MX or SRV records is an exception
rather than a rule. Most protocols use A records.
And, hopefully, AAAA ones.
Post by Thor Kottelin
In addition to the ones you mention, prominent examples include SMTP
mail submission (from MUA to MSA), POP, IMAP,
Indeed, though these seem to me rather "site-local" most of the
time.
Post by Thor Kottelin
DNS,
Don't the NS records offer a level of indirection already?
Post by Thor Kottelin
SSH,
While the other mentioned protocols offer a way to connect to a
"service" (and, e. g., HTTP allows for a server to host several
"Web sites", thanks to the use of the Host: header field), the
SSH protocol is intended to provide access to the server itself.
So, its reliance on "plain" AAAA and A records may be justified.
Or it may be not.
Post by Thor Kottelin
IRC, NTP
Indeed, though it may be nearly as unfortunate as in the cases
of HTTP and NNTP.
Post by Thor Kottelin
and Whois.
I don't know much of the details of Whois, but Wikipedia reads:

--cut: http://en.wikipedia.org/wiki/Whois --
WHOIS information can be stored and looked up according to either a
thick or a thin data model:

Thick

one WHOIS server stores the complete WHOIS information from all
the registrars for the particular set of data (so that one WHOIS
server can respond with WHOIS information on all .org domains,
for example).

Thin

one WHOIS server stores only the name of the WHOIS server of the
registrar of a domain, which in turn has the full details on the
data being looked up (such as the .com WHOIS servers, which
refer the WHOIS query to the registrar where the domain was
registered).
--cut: http://en.wikipedia.org/wiki/Whois --

From that, I conclude that there is a level of indirection, so
that the query for example.net or example.org may be served by
servers with arbitrary DNS names.
Post by Thor Kottelin
There is also a myriad of poorly known protocols implemented over TCP
by various application makers to perform specific tasks.
I'm most concerned with those standard protocols that are more
or less widely deployed over Internet.

FWIW, it's not infrequent to use IP addresses instead of DNS
names when applications are used within a LAN.

[...]
Post by Thor Kottelin
As long as the site in question doesn't plan to deploy NNTP, it
seems more than reasonable to drop the leading "www".
I think it makes sense to avoid using subdomains for web hosting. In
many cases, the web site is the most important use for a domain name.
It seems to become more and more common to use plain example.com for
the website and foo.example.com, bar.example.com et cetera for other
services.
ACK, thanks.
--
FSF associate member #7257
Thor Kottelin
2012-07-07 10:08:00 UTC
Permalink
Post by Ivan Shmakov
Post by Thor Kottelin
DNS,
Don't the NS records offer a level of indirection already?
Yes, but recursive lookups still rely on finding an A -- or AAAA, as you
pointed out -- record for whatever is on the right side of the NS record.
Of course, the authoritative name servers for example.com can be located
outside the example.com namespace. Ditto for MX records when routing mail.
Post by Ivan Shmakov
Post by Thor Kottelin
Whois.
I conclude that there is a level of indirection, so
that the query for example.net or example.org may be served by
servers with arbitrary DNS names.
Indeed, although those arbitrary DNS names do need A or AAAA records.
Registries running Whois services often use the label 'whois' to name that
service in the DNS.
--
Thor Kottelin
http://www.anta.net/
Ivan Shmakov
2012-07-08 17:49:21 UTC
Permalink
Post by Thor Kottelin
Post by Ivan Shmakov
Post by Thor Kottelin
DNS,
Don't the NS records offer a level of indirection already?
Yes, but recursive lookups still rely on finding an A -- or AAAA, as
you pointed out -- record for whatever is on the right side of the NS
record.
Which is exactly the same procedure as performed for the SRV
case.
Post by Thor Kottelin
Of course, the authoritative name servers for example.com can be
located outside the example.com namespace. Ditto for MX records when
routing mail.
The end result is that the @example.org "host" part of e-mail's
To: may be served by any designated server, with possibly a
completely unrelated FQDN, such as, e. g., mx.invalid -- just as
in the case of XMPP's "host" part, or Kerberos 5 realm, or the
very DNS lookup itself.

Though my guess is that there're a number of services that may
benefit from such an indirection, while lacking support for it.
Post by Thor Kottelin
Post by Ivan Shmakov
Post by Thor Kottelin
Whois.
I conclude that there is a level of indirection, so that the query
for example.net or example.org may be served by servers with
arbitrary DNS names.
Indeed, although those arbitrary DNS names do need A or AAAA records.
Registries running Whois services often use the label 'whois' to name
that service in the DNS.
And that's good, as we certainly don't want any other DNS
records to specify the IPv6 and IPv4 addresses. Or do we?
--
FSF associate member #7257
Ivan Shmakov
2012-08-18 19:34:30 UTC
Permalink
[...]
Post by Thor Kottelin
Post by Ivan Shmakov
Now, is there any other function that the "www" DNS name prefix
could serve? Shouldn't thus, e. g., http://www.debian.org/,
http://www.gnu.org/ and http://www.w3.org/, become simply
http://debian.org/, and so on? FWIW, there're
http://duckduckgo.com/, http://freecode.com/, and a number of other
similar ones. As long as the site in question doesn't plan to
deploy NNTP, it seems more than reasonable to drop the leading
"www".
I think it makes sense to avoid using subdomains for web hosting. In
many cases, the web site is the most important use for a domain name.
It seems to become more and more common to use plain example.com for
the website and foo.example.com, bar.example.com et cetera for other
services.
There's a catch, however, as I've just discovered: it may be
impossible to use the same DNS name for /both/ e-mail /and/
HTTP, should the latter be served by a "third party" hosting
provider.

Such a setup is likely to require one to set up a CNAME record
for HTTP, which, obviously, cannot be combined with any MX ones.
--
FSF associate member #7257 http://sf-day.org/
D. Stussy
2012-07-07 22:30:04 UTC
Permalink
"Ivan Shmakov" wrote in message news:***@gray.siamics.net...
Do I understand it correctly that the only "user" protocols
widely deployed in the Internet of today that don't use the SRV
(or MX, etc.) records (and thus may want separate DNS names,
such as www.example.org and news.example.org) are HTTP and NNTP?
===========
No. SRV records are not widely used for anything. Most people don't have
them. Only VOIP services seem to use them regularly and/or require them (and
similarly with NAPTR-RRs).

I didn’t even add them to my own domains until about a year ago when I started
to configure VOIP stuff.
===========

I see that a number of services (e. g., Kerberos 5, SMTP, XMPP)
use a kind of a pointer to tie the DNS name to the server, while
HTTP and NNTP don't use one, preasumably for historical reasons.
===========
No conclusion can be drawn for such.
===========

Now, is there any other function that the "www" DNS name prefix
could serve? Shouldn't thus, e. g., http://www.debian.org/,
http://www.gnu.org/ and http://www.w3.org/, become simply
http://debian.org/, and so on? FWIW, there're
http://duckduckgo.com/, http://freecode.com/, and a number of
other similar ones. As long as the site in question doesn't
plan to deploy NNTP, it seems more than reasonable to drop the
leading "www".
============
If you use the domain name alone with my domains and no SRV lookup, you won't
get any address records with which to access any service. Your request dies
as unroutable. In a pure design under DNS, the domain name is not also a host
and therefore does not directly map to a machine.
Loading...