Re:Ask HN: What does traffic to example.com look like?
by jcr on Saturday July 19, 2014 @11:20AM
(#8057691)
You're right about the "example.com" and similar domains always being
registered to IANA, and I even did a brain-fade on whois/nslookup in
my comment, but as far as I remember, the example domains are never
supposed to resolve to an IP? I'll look at this again after I get some
sleep.
Huh? No, it shouldn't. Example domains are, according to the RFC, permanently registered to IANA, although not through the "normal channels" (I suppose they don't have to pay for them).
example.com and other example domains resolve correctly wherever you are. They are not treated specially in any way (or shouldn't be, according to the RFC) aside from that they're permanently registered to IANA and that application developers should understand that they're example domains. The RFC does not prevent IANA from running any services on example domains, and they choose to run an HTTP server.