Are there any well known addresses that can be resolved to well known IP addresses, preferably for both IPv4 and IPv6?
I'm playing with Berkeley Sockets and have written a class to encapsulate away the sockaddr_in stuff, and want to unit test it but don't know of any addresses that I can put in as test data that are guaranteed to resolve to specific IP addresses.
I found mention of www.example.com and ipv6.example.com in Beej's Guide, but ipv6.example.com doesn't seem to exist any more... The best I've found so far is c.iana-servers.net which has both an IPv4 and IPv6 addresses it resolves to, but I don't know how stable that is...