The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: [OT] Banning access to certain websites





Mark Harrison (Groups) wrote:

> You can find the IP address, associated with a website, say,
> www.knightharrison.com, by opening up a command prompt and typing
>
>     PING www.knightharrison.com
>
> This will give you a response like
>
>     Pinging www.knightharrison.com [216.66.18.192]

Another problem with this is that you have to be careful with websites
that have multiple IP addresses. 'ping' does not show these very well as
the destination DNS server will round-robin around them and your local
ISP nameserver will probably just cache one example of the round-robin.
However, the program 'nslookup' which comes with Windows ['dig' is a
better program on linux] shows multiple IP addresses up very well. For
example IBM's website has six IP addresses:

M:\Documents and Settings\Barry>nslookup www.ibm.com
Server:  ns1.plus.net
Address:  212.159.11.150

Non-authoritative answer:
Name:    www.ibm.com
Addresses:  129.42.20.99, 129.42.21.99, 129.42.16.99, 129.42.17.99
129.42.18.99, 129.42.19.99

--
Barry Myles






UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.