rcmeena2001

Q: Why macbook connects to IPV6 destination instead of IPv4 for web server

Hi Community,

 

I have a problem while accessing website URL https://www.billdesk.com from Macbook system.

 

Site works fine without www in URL like https://billdesk.com

 

As per below dig command output it seems billdesk.com site has a IPV6 IP address 2001:e48:22:2::4

; <<>> DiG 9 <<>> @localhost www.billdesk.com ANY ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4425 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0  ;; QUESTION SECTION: ;www.billdesk.com. IN ANY  ;; ANSWER SECTION:

www.billdesk.com. 38387 IN A 210.210.24.66

www.billdesk.com. 13798 IN AAAA 2001:e48:22:2::4 

;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;;

WHEN: Tue Apr 26 08:22:13 2016 ;; MSG SIZE  rcvd: 78

 

When I connect to https://billdesk.com then connection goes for 210.210.24.66 port 443

MacBook-Air:~ user1$ netstat -n | grep 443

tcp4       0    576  10.0.0.10.56630        210.210.24.66.443      ESTABLISHED

tcp4       0    576  10.0.0.10.56629        210.210.24.66.443      ESTABLISHED

tcp4       0      0  10.0.0.10.56628        210.210.24.66.443      ESTABLISHED

tcp4       0    576  10.0.0.10.56627        210.210.24.66.443      ESTABLISHED

tcp4       0    429  10.0.0.10.56624        210.210.24.66.443      ESTABLISHED

tcp4    1460      0  10.0.0.10.56623        210.210.24.66.443      ESTABLISHED

 

 

When I connect to https://www.billdesk.com then connection goes for 2001:e48:22:2::4 port 443

 


MacBook-Air:~ user1$ netstat -n | grep 443

tcp6       0      0  2601:646:8e01:83.56693 2001:e48:22:2::4.443   FIN_WAIT_1

tcp6       0      0  2601:646:8e01:83.56692 2001:e48:22:2::4.443   FIN_WAIT_1

tcp6       0      0  2601:646:8e01:83.56633 2001:e48:22:2::4.443   FIN_WAIT_1

tcp6       0      0  2601:646:8e01:83.56632 2001:e48:22:2::4.443   FIN_WAIT_1

tcp6       0      0  2601:646:8e01:83.56448 2001:e48:22:2::4.443   FIN_WAIT_1

MacBook-Air:~ user1$

 

Please let me know why Macbook is making connection to IPV6 address when www is in URL?

 

Thanks,

Ram

iPhone 6 Plus, iOS 9.3, Its common with all the OS versions

Posted on Apr 25, 2016 11:44 PM

Close

Q: Why macbook connects to IPV6 destination instead of IPv4 for web server

  • All replies
  • Helpful answers

  • by a brody,

    a brody a brody Apr 26, 2016 6:11 AM in response to rcmeena2001
    Level 9 (66,781 points)
    Classic Mac OS
    Apr 26, 2016 6:11 AM in response to rcmeena2001

    FIrst off iOS 9 does not have its own forum, for questions regarding your phone, you need to go to the phone forum.  You posted in Mac OS 9 forum, which is reference the 15 year old Macintosh operating system that predates any Apple phone.

    MacBooks don't run any version of iOS or Classic.

     

    Secondly, what do you mean in your signature "Its common with all the OS versions?"   What is common?  The issue of going to IPv6 when you use www on the URL?

     

    Interestingly enough, I'm right now navigating to the "secure" https://dicussions.apple.com/ and netstat -n | grep 443 reveals nothing on Mac OS X 10.10.4.

    Go to Apple menu -> About This Mac, and find your Mac OS X version, and I'll ask this thread be redirected to the appropriate forum.

    https://en.wikipedia.org/wiki/IPv6

     

    Explains more about IPv6.    It hasn't replaced IPv4 yet, and it is entirely possible the webhost of billdisk, or your own internet provider's web server still has a mix of both.

  • by rcmeena2001,

    rcmeena2001 rcmeena2001 Apr 27, 2016 4:27 PM in response to a brody
    Level 1 (8 points)
    Classic Mac OS
    Apr 27, 2016 4:27 PM in response to a brody

    Hi Broby,

     

    If you have Comcast connection then try below two URLs:

    https://www.billdesk.com

    https://billdesk.com


    You will notice https://www.billdesk.com don't work on Comcast if your public IP address is IPv6 and you are trying to access on iPhone, iPad or Macbook system.


    I hope it gives you enough information to test at your end.


    Thanks,

    Ramesh

  • by a brody,

    a brody a brody Apr 28, 2016 5:23 AM in response to rcmeena2001
    Level 9 (66,781 points)
    Classic Mac OS
    Apr 28, 2016 5:23 AM in response to rcmeena2001

    I don't have  a Comcast connection..  Regardless, it does point towards  the obsolesence  of their web hosting software.