[Linux] host dig nslookup查询域名的DNS解析

2019-04-18 08:52:24来源:博客园 阅读 ()

新老客户大回馈,云服务器低至5折

root@VM-38-204-ubuntu:~# host baidu.com    
baidu.com has address 220.181.57.216
baidu.com has address 123.125.114.144
baidu.com mail is handled by 15 mx.n.shifen.com.
baidu.com mail is handled by 20 mx1.baidu.com.
baidu.com mail is handled by 20 jpmx.baidu.com.
baidu.com mail is handled by 20 mx50.baidu.com.
baidu.com mail is handled by 10 mx.maillb.baidu.com.
root@VM-38-204-ubuntu:~# dig baidu.com

; <<>> DiG 9.10.3-P4-Ubuntu <<>> baidu.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12243
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;baidu.com.                     IN      A

;; ANSWER SECTION:
baidu.com.              547     IN      A       220.181.57.216
baidu.com.              547     IN      A       123.125.114.144

;; Query time: 0 msec
;; SERVER: 10.236.158.106#53(10.236.158.106)
;; WHEN: Wed Apr 17 11:19:07 CST 2019
;; MSG SIZE  rcvd: 70

 

root@VM-38-204-ubuntu:~# nslookup baidu.com    
Server:         10.236.158.106
Address:        10.236.158.106#53

Non-authoritative answer:
Name:   baidu.com
Address: 220.181.57.216
Name:   baidu.com
Address: 123.125.114.144

  

  

  


原文链接:https://www.cnblogs.com/taoshihan/p/10722380.html
如有疑问请与原作者联系

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:Linux ssh登陆慢的两种原因分析

下一篇:Linux关机命令