Comment

Comment by jeremycole

That's not how it works.

com. only serves the nameserver (NS) addresses for example.com., and if they are within the same domain, their IP addresses. It does not serve the rest of the records for example.com.

You can see this easily with e.g.:

dig -t any google.com. @a.gtld-servers.net.

vs.

dig -t any google.com. @ns1.google.com.

There is no real advantage of having it be 'www' coming from DNS...

There is a somewhat more modern problem which is that having a domain be a CNAME (the DNS equivalent of a by-name redirect) means it can't also have MX records and receive mail; the CNAME also ends up "redirecting" everything, including MX lookups. So if your web host offers yourdomain.someawesomehost.com and you decide to point yourdomain.com to it via CNAME, having [email protected] doesn't work unless yourdomain.someawesomehost.com is configured to receive mail for yourdomain.com.

parent jeremycole 11 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton