[小技巧] dns 查询host2ip
date
Feb 23, 2023
slug
tip-dns-ip-lookup
status
Published
summary
小技巧
tags
tip
type
Post
URL
Problem & SummarySolutionhost www.example.comdig www.example.com A +shortping www.example.comnmap -sn www.example.com / nmap -Pn www.example.comScreenshots
Problem & Summary
Solution
host www.example.com
dig www.example.com A +short
ping www.example.com
nmap -sn www.example.com / nmap -Pn www.example.com
- the -sn option instructs nmap to a ping scan and disables port scan