2011/7/25 Mark Andrews <marka(_at_)isc(_dot_)org>:
But if you really want to use DNS to do redirects for http: URIs (or for =
that matter ws: URIs or almost any other kind of URI), NAPTR was =
tailor-made to do that. SRV was not.
"_http._tcp.example.com SRV 100 0 80 <server>" is not a redirect.
The http client still issues "Host: example.com" not "Host: <server>".
If you want to do DNS level redirect of "www.example.com" to
"example.com" then NAPTR would be the way to do that and the http
client issues "Host: example.com" instead of "Host: www.example.com".
Great explanation.
--
Iñaki Baz Castillo
<ibc(_at_)aliax(_dot_)net>
_______________________________________________
Ietf mailing list
Ietf(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf