第二章实验2 dns

先复习:

dns报文使用udp经过端口53发送,dns服务器是分层次的,根->顶级->权威

A:主机名->ip

NS:主机名->dns服务器

CNAME:主机名->规范主机名

MX:主机名->邮件服务器规范名

dns查询和回答报文有相同的形式:


nslookup的语法

nslookup–option1 –option2 host-to-find dns-server

nslookup的非权威应答是dns缓存的

  1. Run nslookup to obtain the IP address of a Web server in Asia. What is the IP address of that server?
  2. Run nslookup to determine the authoritative DNS servers for a university in Europe.
  3. 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

  1. Locate the DNS query and response messages. Are then sent over UDP or TCP?
  2. What is the destination port for the DNS query message? Wha
  • 0
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值