News for hackers. Stuff that matters.
Re:Benchmarking DNS response times of TLDs by cbg0 on Friday January 10, 2020 @07:18AM (#22010435)
What's so "nasty" about using ALIAS?

> Regarding cookies, the issue is that they are passed to subdomains so cookies that you set for `example.org` are also accessible from `*.example.org`.

This is only true for cookies that are not set as `HostOnly` as far as I'm aware.

Re:Benchmarking DNS response times of TLDs by belorn on Friday January 10, 2020 @08:09AM (#22010661)
> What's so "nasty" about using ALIAS?

The DNS server provide implements this differently, but the two "common" methods I know of is either aggressive caching or caching on request. In both cases the server becomes the client, breaks geoip, and create complexity where errors can easily slip in.

Re:Benchmarking DNS response times of TLDs by chrisweekly on Friday January 10, 2020 @07:44AM (#22010544)
Re: "... only true for cookies that are not set as 'HostOnly'"

Technically, you're right -- but that implies a commitment to vigilance in setting that attribute on every instance of every cookie across every page or endpoint on your apex domain. Further, if you ever want to support some use of a subdomain, you have to deal with the ability of any page therein to set cookies on ".example.com". And when you inevitably miss any instance of any of these, you're unlikely to notice, because everything will still function normally. So in practice, using the apex paints you into a corner and makes the domain less useful.

There's also the issue of DDOS attacks and related problems, for which the fastest and simplest mitigation is updating DNS entries for your CNAME(s). Why take that option off the table?

Re:Benchmarking DNS response times of TLDs by Eikon on Friday January 10, 2020 @07:22AM (#22010450)
> What's so "nasty" about using ALIAS?

It's a not standard and therefore, is not a generally applicable solution.

When something not standard becomes common practice and is expected, here comes the pain.

Re:Benchmarking DNS response times of TLDs by cbg0 on Friday January 10, 2020 @07:56AM (#22010598)
> When something not standard becomes common practice and is expected, here comes the pain.

I think that's the case with most popular features before they become a standard. Personally, I've used ALIAS on AWS without a hitch for years.

Re:Benchmarking DNS response times of TLDs by SteveNuts on Friday January 10, 2020 @07:58AM (#22010603)
The standard should be amended for the modern web then. AWS's (and I'm sure many other's) implementation of this for their various load balancing, CDN services, etc. are critical to the health of the web now.
Re:Benchmarking DNS response times of TLDs by XelNika on Friday January 10, 2020 @07:47AM (#22010562)
I don't really see the issue. It changes nothing from the DNS client's perspective.
Re:Benchmarking DNS response times of TLDs by toast0 on Friday January 10, 2020 @11:58AM (#22012371)
From the DNS client's perspective, there is a positive and a negative.

Positive: since the server with an alias record actually returns an A/AAAA, a client doesn't have to contact any more servers to get the results.

Negative: the servers for the CNAME target may be faster, relevant if the name is used beyond the A/AAAA TTL but sooner than the TTL would be set for a CNAME); or the servers for the target may be providing much finer targeting than is possibly by proxying.