linux Domain Search Tool --nslookup

nslookup

DNS domain name information query tool
nslookup has two modes, namely "interactive mode" and "non-interactive mode." In the "interactive mode", the user can query information of various types of hosting, domain name to the domain name server, or output host domain name in the list. In the "non-interactive mode", the user can only obtain a specific name for the host or domain name, or the required information.

Enter the interactive mode, nslookup command input directly, without any parameters, directly enter the interactive mode, where nslookup will connect to the default server domain (i.e. the first /etc/resolv.conf dns address). Or enter nslookup -nameserver / ip. Enter non-interactive mode, directly input nslookup domain name on it.

grammar

nslookup [options] Parameters
parameters: the need to resolve the domain name

Examples

Interactive Mode
Here Insert Picture Description
Non-interactive mode
Here Insert Picture Description

Published 14 original articles · won praise 4 · Views 519

Guess you like

Origin blog.csdn.net/qq_42534026/article/details/104211258