Recently, my colleague reported that during the NSLookup test on the Intranet, I found that when I used the Intranet DNS server 192.168.1.1 for resolution, the DNS server responded very quickly and did not
Any errors. However, when the DMZ server 51.
1 DNS IntroductionDNS (domain Name System) can provide valuable data during the detection process, the basic function of DNS is to convert the domain name to an IP address. (If you don't know much about DNS, it's going to take a lot of effort!) Now
I. Host directiveFormat: Host [-A] FQDN [server]HOST-L domain [Server]Options:-A: Represents a list of all relevant information about the host, including IP, TTL, and error-removing messages, etc.-L: If the next domain setting allows Allow-transfer,
Description:
The NSLookup command is a program that queries the Internet Domain Name Service. The NSLookup command has two modes: Interactive and non-interactive.
Interactive Mode allows users to query different types of hosts and domain names
Common Linux commands: nslookup, lsmd5sum, uname, and history1. nslookup
DNS developers all know what the nslookup (name server lookup: domain name query) command is for. It comes with windows. However, in Linux, enter nslookup to display the
1. install the software packages dig and nslookup. Centos: # yuminstallbind-utilsDebian: # apt-getupdate # apt-getinstalldnsutils set the dns server IP address in/etc/resolv. conf before querying. II. usage
1. install the software packageInstall
tcpdump Grab Bag:
want to output dot decimal: tcpdump-n * * *Want to output MAC address: TCPDUMP-E * * *Catch target a package: tcpdump DST A//requires root permission, or sudo.
The contents of the network package, including the source IP address,
Query IP addresses
NSLookupThe simplest method is to query the IP address corresponding to the domain name, including the record, MX record, and NS record cname record.
Query a records:NSLookupDomain Name
Query MX records:NSLookup-Q = Mx
Netstat Command Overview:Netstat is a very useful tool for monitoring TCP/IP networks, which can display routing tables, actual TCP network connections, TCP and UDP snooping, process memory management, and status information for each network
Because the Linux system originated and developed on the Internet, it is born with powerful network functions and rich network application software, in particular, the implementation of TCP/IP network protocols is particularly mature. Linux has many
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.