News for hackers. Stuff that matters.
Re:American Airlines: one day of lounge access to anyone wit... by eksith on Sunday May 12, 2013 @12:02AM (#5693098)
I'm always suspicious of sites that break without 'www'. Either the DNS was setup by a novice and/or someone with little knowledge, the platform that runs it is a convoluted mess or something else is horribly broken. I know that's not really a fair indicator, but "what else is wrong" and "how badly is the rest of it is cobbled together" are the first 2 question that pop into my head.
Re:American Airlines: one day of lounge access to anyone wit... by cbhl on Sunday May 12, 2013 @12:08AM (#5693110)
It has been argued that putting a web server on a bare domain (without the www) is broken, since you aren't supposed to e.g. use a CNAME on the bare domain (and many hosting providers use CNAMEs to give them the ability to change the IP address hosting a site if something goes wrong in one datacenter).
Re:American Airlines: one day of lounge access to anyone wit... by eksith on Sunday May 12, 2013 @12:47AM (#5693197)
Argued by whom? That seems like an archaic holdover from the early days of the web with no bearing on what's possible today.

We aren't supposed to link to resources that don't exist either and (while it's not specifically about DNS) that's exactly what URL rewriting is used for today.

Re:American Airlines: one day of lounge access to anyone wit... by cbhl on Sunday May 12, 2013 @01:07PM (#5694940)
For example:

> Using URLs of the form http://example.com/ creates a number of problems, and we strongly recommend that you avoid it. http://faq.nearlyfreespeech.net/q/baredomain

> zone apex domains (also called bare, naked, or root domains) ... have serious availability implications https://devcenter.heroku.com/articles/apex-domains

Granted, you don't always have to follow the RFCs...

> the DNS RFC (RFC1033) requires the "zone apex" (sometimes called the "root domain" or "naked domain") to be an "A Record," not a CNAME ... Never one to let a RFC stand in the way of a solution to a real problem, we're happy to announce that CloudFlare allows you to set your zone apex to a CNAME http://blog.cloudflare.com/zone-apex-naked-domain-root-domai...

Re:American Airlines: one day of lounge access to anyone wit... by eksith on Sunday May 12, 2013 @02:12PM (#5695210)
* = Wildcard A record often held to the same IP as www (and this is fine according to RFC1034) :

http://tools.ietf.org/html/rfc1034#section-4.3.3

To be fair, NFS Has had a history of doing things old-school (which is fine for most of their clientele), but the availability implications of Heroku is for something completely different. Also they're a special case with a much more complicated backend.

Re:American Airlines: one day of lounge access to anyone wit... by nwh on Sunday May 12, 2013 @12:50AM (#5693204)
Re:American Airlines: one day of lounge access to anyone wit... by cbhl on Sunday May 12, 2013 @01:15PM (#5694975)
I don't see, in their FAQ, how they deal with "you can't put CNAMEs in the zone apex according to the RFC, but cloud hosting providers like Heroku want me to set a CNAME on any domain pointing to my site".

If you only have a dedicated box, or if you have a full time on-pager sysops team, then, yes, it's easy enough to set A records on the zone apex pointing to your web server.

Re:American Airlines: one day of lounge access to anyone wit... by Stratoscope on Sunday May 12, 2013 @01:03AM (#5693232)
Even if that's so, can't you have the non-www domain redirect to the www domain?