nslookup
nslookup is a tool to query the DNS domain name, it has interactive and non-interactive modes of operation.
Scope of this command: RedHat, RHEL, Ubuntu, CentOS, Fedora.
1 , grammar
nslookup [-option] [name | -] [server]
2 , after entering the interactive mode command has the following
command |
Explanation |
host |
The host information queries |
server domain |
Change server |
exit |
drop out |
setkeyword=value |
Sets the specified property All , all the attributes of print domain = name set the query name port = value change server port type = value to change the type of query timeout = number set Wait Timeout class={IN | CH | HS | ANY} |
3 , examples
1 ) non-interactive mode queries
|
2 ) interactive mode query
|
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