Hi Tim,

On Thu, May 23, 2013 at 06:39:23PM +0100, Tim wrote:
> How can I check that the web browser is accessing the web site via
> the changes I made in the host file and not using the old
> settings?

You could run tcpdump to view your outbound port 80 traffic.

# tcpdump -vpn 'dst port 80'

or if you're only interested in packets to 1.1.1.1:

# tcpdump -vpn 'dst host 1.1.1.1'

If you are more used to graphical application then you may prefer
Wireshark. The interface may be more daunting than the fairly simple
tcpdump though..

I have noticed that web browsers tend to cache DNS lookups quite
aggressively so perhaps you just need to restart it, clear the
cache, use a different browser, or a different browser profile etc.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting

Attachment: signature.asc
Description: Digital signature

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Reply via email to