host nslookup dig

1. host

host x.com

 

 

 

host -t ns x.com

host -t mx x.com

 

 

 

 

2. nslookup

  

nslookup. x.com

 

 

nslookup

 

set type=ns

x.com

 

 

set type=mx

x.com

 

 

 

 

3. dig

dig x.com

 

 

 

global options里面可以通过 dig —help 来查看 

 

dig x.com -t mx

posted @ 2021-06-02 02:48  hh9515  阅读(45)  评论(0)    收藏  举报