Re: MX-only domains dying?
- From: Grant Taylor <gtaylor@xxxxxxxxxxxxxxxxx>
- Date: Thu, 15 Mar 2007 13:13:57 -0600
Dennis Peterson wrote:
What is the harm in that? If you portmap a lot of domains you'll find all manner of services running on the domain.tld IP. I've always thought of the www host as being an artifact of the good old days of the web where DNS was used as part of the maintenance methodology - if you needed to service a box you switched the IP in DNS to the hot spare. With clustered systems, rr dns, proxies, and BigIP front ends that is much less common if done at all. The www, ftp, telnet, gopher, archie, etc. hostnames are pretty much meaningless/pointless now. When I host new web domains I always alias the www to the subscriber's domain, but I'd honestly rather not go to the bother.
(With out starting a vi vs. emacs style argument...)
Using service names allows you to have each respective service(s) resolve to different address(es), thus allowing you to spread services across different hosts. I.e. www can resolve to one IP (or set there of), ftp can resolve to another, while gopher can resolve to yet another. If you do not use service names, you are stuck with all services resolving to the same IP (or set there of). Sure, you could put some sort of redirection on that IP but (IMHO) that is more clunky than using service names to segregate where traffic is directed to.
If you subscribe to this belief (or hummer me for the sake of discussion) then you are forced to have the domain name resolve to the same place as the www service name does.
Now consider if you will multiple domains being set up in this fashion with the service names configured as CNAMEs to an FQDN of the host(s) that provide said service(s). If you want to move the web server to a different IP (for what ever reason) all you have to do is update the one FQDN record to reference the new IP(s). Now, if you do not use service names (or provide support for the lack of a service name) for said domains, you have to update all the DNS zones for the effected domains to the new IP address. IMHO this makes it much more likely for an error to happen.
For example, I can have the following domains set up in DNS and only have to update one record if I move the server(s).
www.domain1.tld. IN CNAME www_server.fqdn.tld.
www.domain2.tld. IN CNAME www_server.fqdn.tld.
www.domain3.tld. IN CNAME www_server.fqdn.tld.
....
www.domainN.tld. IN CNAME www_server.fqdn.tld.
....
www_server.fqdn.tld. IN A w.x.y.z
Now if you want domainN.tld to resolve to a web server you would have to have the following:
www.domain1.tld. IN CNAME www_server.fqdn.tld.
domain1.tld. IN A w.x.y.z
www.domain2.tld. IN CNAME www_server.fqdn.tld.
domain2.tld. IN A w.x.y.z
www.domain3.tld. IN CNAME www_server.fqdn.tld.
domain3.tld. IN A w.x.y.z
....
www.domainN.tld. IN CNAME www_server.fqdn.tld.
domainN.tld. IN A w.x.y.z
....
www_server.fqdn.tld. IN A w.x.y.z
In this case there would be MANY MANY more places that you would have to update IP addresses, thus making things that much more prone to being incorrect / failing.
I guess you could argue that this is more of a scalability / maintainability issue than it is an operability issue. However this is one of the smaller nuances that I see that bothers me.
If you are wondering why I have A records for domainN.tld verses a CNAME record, I have never been able to get CNAME records to co-exist with any other record type for a given name. As I understand it, this is the correct behavior for CNAMEs in DNS too. Thus you are forced to use an A record if you want to have any other type of service offered on the domain. This is especially true for email seeing as how an MX record will not reliably be correctly resolved if the MX record points to a CNAME. I suppose that if you only wanted to offer web services (or really any thing but email) for a domain, you could create a larger zone that was just the tld with something like the following:
domain1.tld IN CNAME www_server.fqdn.tld.
domain2.tld IN CNAME www_server.fqdn.tld.
domain3.tld IN CNAME www_server.fqdn.tld.
....
domainN.tld IN CNAME www_server.fqdn.tld.
Something I find maddening is browsers that have a round robin set of alternate URL's they will go through if you mistype a domain, or if what you type doesn't exist, and then finally land you on a default URL at, oh, say, microsoft.com. It might as well be a web beacon, as it provides information to the default server things you may rather it not know.
I find this both good and bad. In my experience the round robining as you say tends to try the six combinations of "(|www).<domain_you_typed>.(com|net|org)" in addition to <domain_you_typed> if the latter fails. Yes it is possible that some information may be given away by the fact that you are trying to reach something that does not exist and that the browser inadvertently tries a permutation of the domain name as a convenience. If one of these permutations is valid, some information could be handed off to the per mutated server, i.e. you were trying to get to a domain that is a per mutated form of what was requested. This can be used to gather statistics or typo squatting, etc. However I do like the fact that it will prepend "www" in front of just the domain name, usually first. IMHO the prepending of "www" helps me in my quest to use service names and have some support for lazy people that do not want to type in four more letters.
(Ok, I'm getting off my soapbox now.)
Grant. . . .
.
- Follow-Ups:
- Re: MX-only domains dying?
- From: Dennis Peterson
- Re: MX-only domains dying?
- References:
- MX-only domains dying?
- From: hume . spamfilter
- Re: MX-only domains dying?
- From: Grant Taylor
- Re: MX-only domains dying?
- From: hume . spamfilter
- Re: MX-only domains dying?
- From: Graham Murray
- Re: MX-only domains dying?
- From: Grant Taylor
- Re: MX-only domains dying?
- From: Dennis Peterson
- MX-only domains dying?
- Prev by Date: Re: milter interaction with more than one external program
- Next by Date: Re: milter interaction with more than one external program
- Previous by thread: Re: MX-only domains dying?
- Next by thread: Re: MX-only domains dying?
- Index(es):
Relevant Pages
|