先复习:
dns报文使用udp经过端口53发送,dns服务器是分层次的,根->顶级->权威
A:主机名->ip
NS:主机名->dns服务器
CNAME:主机名->规范主机名
MX:主机名->邮件服务器规范名
dns查询和回答报文有相同的形式:
nslookup的语法
nslookup–option1 –option2 host-to-find dns-server
nslookup的非权威应答是dns缓存的
- Run nslookup to obtain the IP address of a Web server in Asia. What is the IP address of that server?
- Run nslookup to determine the authoritative DNS servers for a university in Europe.
- Run nslookup so that one of the DNS servers obtained in Question 2 is queried for the mail servers for Yahoo! mail. What is its IP address?
1.baidu的ip:180.97.33.108
2.牛津大学的dns,nighthawk.dns.ox.ac.uk
3.题目意思是用第二题的dns服务器查询雅虎,nslookup yahoo.mail nighthawk.dns.ox.ac.uk
显示找不到
2.ipconfig命令
3.wireshark,让你访问一个网站,访问前ipconfig /flushdns
- Locate the DNS query and response messages. Are then sent over UDP or TCP?
- What is the destination port for the DNS query message? Wha