I'm attempting to serve a website from a machine that only has an IPv6 address. I have purchased a domain name and changed the AAAA record of the DNS resource record to my IPv6 address, and have verified that this change has been updated using nslookup --query=AAAA example.com
. However, when I navigate to my page, it resolves to the default site provided by my domain registrar, which is hosted at the IPv4 address in the A record.
In addition, I've tried to set the A record to an invalid IPv4 address, but no dice.
How can I force the use of the IPv6 address?
A
record pointing somewhere useless (or more ideally, no A record at all) and the registrar's still responding with anA
record that points to their own systems? What's the nslookup show when querying forA
(or better yet,ANY
)?nslookup -query=A foo.com
gives the useless IPv4 address,ping foo.com
gives the default IPv4 address of the registrar.nslookup -query=ANY
gives expected results.