GeekStrongs / firefox-showip

Automatically exported from code.google.com/p/firefox-showip
0 stars 0 forks source link

Bad IP displayed when several IPs configured in etc/hosts file. #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Declare several lines with same web server hostname and different IP 
addresses in /etc/hosts file.
2. Restart Firefox.
3. Go to web server.

What is the expected output?
Maybe an error or a warning stating impossibility to determine web server IP 
address ?
Or maybe displaying web server hostname instead of IP ?

What do you see instead?
It seems that ShowIP shows the last IP-hostname entry of etc/hosts file.

What version of the product are you using? On what operating system?
I am using version 0.8.19 on windows XP Pro SP3.

Please provide any additional information below.
I know that IP shown by ShowIP is bad due to a bad configuration in etc/hosts.
Since I've lost several hours looking for what was going on, I believe that if 
ShowIP can handle this misconfiguration or at least give some hints instead of 
displaying bad information, this will be very convenient.

Original issue reported on code.google.com by fernando...@gmail.com on 23 Jul 2010 at 3:27

GoogleCodeExporter commented 8 years ago
This cannot be fixed without the help of firefox. Firefox will probably behave 
the same. As a workaround you can try to reduce the cache ttl in the showip 
preferences.

Original comment by jan.ditt...@gmail.com on 5 Mar 2011 at 8:21