host
host is a commonly used DNS query tool, often used to query domain name check domain name resolution is correct.
Scope of this command: RedHat, RHEL, Ubuntu, CentOS, Fedora.
1 , grammar
host [ options] name [server]
2 , the list of options
Options |
Explanation |
-a |
All information queries |
-c |
Set the query type |
-C |
Discover a complete SOA record |
-d | -v |
Show process |
-l |
List mode |
-t |
Select the query type: CNAME NS SOA SIG KEY AXFR |
-w |
Wait forever |
-W |
Set Wait Timeout |
3 , examples
1) Check Domain
|
2) all information inquiry
|
Made a study of the Linux platform, now came up with a prototype, you can use the reference
link: https: //pan.baidu.com/s/1GOLVU2CbpBNGtunztVpaCQ Password: n7bk