通过ping网站得到的TTL值判断该网站服务器类型

ping www.mtkfan.com

得到返回值,看TTL值,

32左右,是windows

64左右,是linux

128左右,是windows NT or later

255左右,是unix

 

TTL为50,是一台linux服务器,采用ubuntu 12.04 LTS 64位操作系统。

 

ping一下google的公开DNS: 8.8.8.8 和 8.8.4.4

分别是35 和 29 , 应该是google自定制的linux操作系统。

这个DNS可以用于自己电脑的DNS设置而不使用宽带运营商提供的DNS。

 

Google Public DNS IP addresses

The Google Public DNS IP addresses (IPv4) are as follows:

    8.8.8.8
    8.8.4.4

The Google Public DNS IPv6 addresses are as follows:

    2001:4860:4860::8888
    2001:4860:4860::8844

You can use either number as your primary or secondary DNS server. You can specify both numbers, but do not specify one number as both primary and secondary.

You can configure Google Public DNS addresses for either IPv4 or IPv6 connections, or both.