Quote:
Originally Posted by opensuser Hi,
could you tell me how to disable/enable access to a site and the steps to discover the ip of a site!
Answer the quicker you can please!
opensuser |
To discover the IP address for a website simply ping it. To get Google's IP address you can:
Code:
kieren:/home/kieren# ping www.google.com
PING www.l.google.com (74.125.19.103) 56(84) bytes of data.
64 bytes from cf-in-f103.google.com (74.125.19.103): icmp_seq=1 ttl=244 time=214 ms
64 bytes from cf-in-f103.google.com (74.125.19.103): icmp_seq=2 ttl=244 time=311 ms
64 bytes from cf-in-f103.google.com (74.125.19.103): icmp_seq=3 ttl=244 time=268 ms
64 bytes from cf-in-f103.google.com (74.125.19.103): icmp_seq=4 ttl=244 time=262 ms
--- www.l.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 214.905/264.344/311.633/34.291 ms
This shows that Google's IP address is 74.125.19.103. However - large sites such as Google have many different IP address' to deal with many users accessing the site at the same time so it isn't very realistic to block a site by it's IP address.