域名查询命令
所属分类 shell
浏览量 1328
dig host nslookup ping whois
ping codefun007.xyz
PING codefun007.xyz (118.126.113.155): 56 data bytes
64 bytes from 118.126.113.155: icmp_seq=0 ttl=51 time=46.513 ms
64 bytes from 118.126.113.155: icmp_seq=1 ttl=51 time=53.474 ms
64 bytes from 118.126.113.155: icmp_seq=2 ttl=51 time=46.529 ms
dig codefun007.xyz
;; ANSWER SECTION:
codefun007.xyz. 198 IN A 118.126.113.155
dig +trace codefun007.xyz
dig +short codefun007.xyz
118.126.113.155
dig codefun007.xyz +short -t A
118.126.113.155
dig codefun007.xyz +short -t CNAME
-t 指定记录类型
CNAME A MX NS 分别表示CNAME A记录 MX记录 DNS服务器 默认是A
MX(Mail Exchanger) 邮件交换记录 邮件路由记录
nslookup codefun007.xyz
Non-authoritative answer:
Name: codefun007.xyz
Address: 118.126.113.155
host codefun007.xyz
codefun007.xyz has address 118.126.113.155
host -a codefun007.xyz
一个域名可以有两种类型的指向
A记录 指向一个IP地址
CNAME 指向一个其他的域名
whois codefun007.xyz
whois gtimg.cn
上一篇
下一篇
线上问题排查常用命令
Lock和synchronized的区别
java并发机制的底层实现原理
java线程状态
互联网新老词汇对照表
NoClassDefFoundError和ClassNotFoundException异常的区别