ruurtjan / WebsiteIP

A Firefox extension to get the IP of the current tab URL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebsiteIP

WebsiteIP is a simple Firefox extension to display the IP(s) of the current tab URL. It uses the DNS API to resolve the hostname.

It requires two permissions, no more, sadly no less:

  • activeTab
  • dns

What's that thing ?

Its goal is to show you the IP(s) of the URL you're currently browsing against an external DNS currently being dns.google. Simply click the icon of the extension and it will display the IP(s) of the server. If you have changed your Firefox configuration to use DNS-over-HTTPS, you will be "warned" of this setting by displaying Local (TRR). Therefore, it means that if you have made modifications in your host file, they won't be used ! You can change this setting.

You might be interested in this addon if you are:

  • a dev: you can easily be sure you are working on your dev website version (modifify your hosts)
  • a sysadmin: you can check you're testing the correct website while doing a migration
  • anyone: you care about the server you are hitting

Why not use it ?

Actually it has to go through ipv6.google.com to find out if you are using IPv6 or not. Feel free to inspect the code and PR something more privacy friendly ;) Moreover, to compare your local DNS entry to an online one, it uses dns.google ... Again PR, if you have any idea on how to make it non google --' Obviously if you use the same in your browser you will have the same results with the "local" resolution. For anyone that cares about privacy here's a list of DOH server. Using TRR in Firefox doesn't mean your privacy is guaranteed.

Whatsmydns

WebsiteIP is not affiliated to nslookup.io and whatsmydns.net but they're decent services that I've been using on a daily basis therefore this extension uses it as link to further debug any DNS problem.

Credits

The icon is made by freepik from www.flaticon.com

About

A Firefox extension to get the IP of the current tab URL


Languages

Language:JavaScript 83.3%Language:CSS 12.0%Language:HTML 4.6%