News for hackers. Stuff that matters.
Re:Should you use www or not in your domain? (2017) by paranoidrobot on Sunday November 11, 2018 @04:12PM (#18428626)
Except that the IP that your DNS provider resolves your apex to may be on the other side of the planet.

Fine if all you are doing is 302 to the www. Variant, but otherwise no.

Re:Should you use www or not in your domain? (2017) by X-Istence on Sunday November 11, 2018 @05:00PM (#18428897)
This is where the Client Subnet edns extensions come in handy. This allows the DNS provider to pass along the /24 the users IP address is in.

With an extra caching key, this can even be cached.

See https://developers.google.com/speed/public-dns/docs/ecs

Re:Should you use www or not in your domain? (2017) by paranoidrobot on Sunday November 11, 2018 @09:12PM (#18430118)
And that also only helps if your DNS provider and the client's DNS servers also pass along that information correctly.
Re:Should you use www or not in your domain? (2017) by tonyztan on Sunday November 11, 2018 @06:58PM (#18429551)
> "the IP that your DNS provider resolves your apex to may be on the other side of the planet"

Anycast addresses this issue, right?[1] Cloudflare uses Anycast for their IP addresses.[2]

[1] https://en.wikipedia.org/wiki/Anycast

[2] https://www.cloudflare.com/learning/cdn/glossary/anycast-net...

Re:Should you use www or not in your domain? (2017) by paranoidrobot on Sunday November 11, 2018 @09:12PM (#18430113)
Only if your CDN uses Anycast. Not all of them do.