12

Is there any way to force Chrome to visit a certain website with IPv4 only and not use the IPv6 address?

I know there is a way which works for Firefox, as in going to "about:config" then search for network.dns.ipv4OnlyDomains and there you can enter the websites/domains you want to force Firefox to visit by using IPv4 only.

So, is there a way to achieve this in Chrome as well? Reason for this is, is that I have to visit a secured website, however I am getting tired changing the .htaccess all the time, because my IPv6 address changes daily (my IPv4 address stays the same/static).

Of course I can (and am) using Firefox as well, but I need two different browser connections.

So hopefully someone knows a way in Chrome?

9
  • Do you mean the IPv6 prefix is changed by your ISP (the first half), or do you mean only the interface identifier (second half of the address) keeps changing? The latter can be made static easily, as long as the ISP-provided prefix stays the same. Commented Apr 12, 2021 at 8:04
  • Well my IPv6-addresses changes, so when I visit a personal company website, I have to change the IPv6 address in the .htaccess all the time. Therefor I want to disable IPv6 access to that website. Just like I did it in Firefox, but I am guessing that this is not possible and/or my question is not correctly explained (sorry for that).
    – Joanne
    Commented Apr 12, 2021 at 8:36
  • I was asking about which part of your IPv6 address changes... Commented Apr 12, 2021 at 8:37
  • 1
    So the ISP gives you a static prefix, and you could solve your problem by configuring your computer to stop changing its suffix (the last 4 parts), i.e. disabling the "Privacy Extensions" feature – as an alternative to needing to disable IPv6 outright. Commented Apr 12, 2021 at 13:03
  • 2
    @user1686 bunch of non-related questions to the topic
    – Reishin
    Commented May 23, 2022 at 18:16

1 Answer 1

1

Use nslookup, such as nslookup MySite.com. When used as nslookup google.com, the reply is:

Name:       google.com
Addresses:  2607:f8b0:4009:808::200e
            142.250.190.14

So enter https://142.250.190.14 instead of https://google.com into your Chrome browser.

2
  • But then the certificate fails.
    – parsley72
    Commented Jan 23 at 1:25
  • 1
    Also this fails if the website uses virtual hosts.
    – Petr
    Commented Apr 28 at 14:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .