• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New ISP for me, apparently using ipv6, but I don't fully understand ...

#1
So, today we switched ISPs. We had Verizon (Frontier) FiOS, and switched to Time Warner (Spectrum). When I go to the following website, it shows an ipv6 address:

http://whatismyipaddress.com/

But when I go to this website it's showing an ipv4 address:

http://www.myipaddress.com/show-my-ip-address/

On my production server, if I look at $_SERVER['REMOTE_ADDR'], it shows the ipv4 address that the second website shows.

So, what's going on here? Why the ipv6 to ipv4 conversion? (if that's what it is).

I guess it doesn't really matter, because everything still works, but I was kind of hoping that I was going to get to test some of my code with this ipv6 internet I now have.
Reply

#2
www.myipaddress.com doesn't have any AAAA records (A records for IPv6 addresses) - it just isn't reachable via IPv6. That's most likely the case with your own server too.

Edit: The forum converts www. stuff to http:// links; I only wanted to write that as a hostname.
Reply

#3
(12-07-2016, 03:08 AM)Narf Wrote: www.myipaddress.com doesn't have any AAAA records (A records for IPv6 addresses) - it just isn't reachable via IPv6. That's most likely the case with your own server too.

Edit: The forum converts www. stuff to http:// links; I only wanted to write that as a hostname.

AAAA records being part of DNS, does that mean the "conversion" is happening at the client DNS or ISP level? It would have to be, right? Sorry if I'm using the wrong terminology. 

My dev server does it too. It's just a Ubuntu desktop machine. Maybe when I have some free time I can figure out how to accept IPv6.
Reply

#4
Your server has to have an IPv6 address in the first place, but it's the AAAA record that translates your.server.name to that IPv6 address.

There's nothing special to be done at an "ISP level" ... there either is such record for your domain name or not. What your ISP does is to give you an IPv6 address and thus the ability to connect to other sites that have IPv6 addresses.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.