计算机网络实验报告DNS

更新时间:2024-01-05 03:18:01 阅读量: 教育文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

计算机网络实验报告

专业:计算机科学与技术

年级: 班级: 姓名: 学号:

计算机科学学院

DNS协议分析

1. 运行nslookup,查询并记载你的本地DNS 服务器名称及其IP 地址,nbu.edu.cn 的 权威DNS 服务器名称及其IP 地址; (1) 本地DNS 服务器名称及其IP 地址

(2) nbu.edu.cn 的权威DNS 服务器名称及其IP 地址

2. 运行nslookup,查询并记载www.sina.com 的IP 地址、其权威DNS 服务器名称和IP地址。

(1) www.sina.com 的IP 地址

(2) 权威DNS 服务器名称和IP地址

3. 已知剑桥大学的域名为www.cam.ac.uk,运行nslookup,查询并记载剑桥大学的 IP 地址和他的权威DNS 服务器名称和IP 地址; (1) 剑桥大学的IP 地址

(2) 他的权威DNS 服务器名称和IP 地址

4. 运行ipconfig/all,查询并记载你的本地DNS 服务器,看和nslookup 显示的有无差别, 如有差别差在哪里?为什么?

有差别

5.运行ipconfig/all,查询并记载你的网卡名称、IP 地址、掩码、网关、MAC 地址和主 机名称;

6. 运行ipconfig/all,查询并记载你当前是否使用了DHCP 功能? 是

7. Locate the DNS query and response messages. Are they sent over UDP or TCP?

Answer: UDP .

8. What is the destination port for the DNS query message? What is the source port

of DNS response message? Query message :

Response message:

9. To what IP address is the DNS query message sent? Use ipconfig to determine the IP address of your local DNS server. Are these two IP addresses the same? Answer:202.117.144.2 相同:ipconfig:

10. Examine the DNS query message. What “Type” of DNS query is it? Does the query message contain any “answers”? Answer:

没有,

11. Examine the DNS response message. How many “answers” are provided? What does each of these answers contain? Answer: 1个

12. Consider the subsequent TCP SYN packet sent by your host. Does the destination IP address of the SYN packet correspond to any of the IP addresses provided in the DNS response message? Answer:

the destination IP address of the SYN packet:

the IP addresses provided in the DNS response message:

相同。

13. This web page contains images. Before retrieving each image, does your host issue new DNS queries? Answer:No,

14. What is the destination port for the DNS query message? What is the source port of DNS response message?

15. To what IP address is the DNS query message sent? Is this the IP address of your default local DNS server?

16. Examine the DNS query message. What “Type” of DNS query is it? Does the query message contain any “answers”?

17. Examine the DNS response message. How many “answers” are provided? What does each of these answers contain?

18. To what IP address is the DNS query message sent? Is this the IP address of your default local DNS server?

19. Examine the DNS query message. What “Type” of DNS query is it? Does the query message contain any “answers”?

20. Examine the DNS response message. What MIT name servers does the response message provide? Does this response message also provide the IP addresses of the MIT name servers?

21. To what IP address is the DNS query message sent? Is this the IP address of your default local DNS server? If not, what does the IP address correspond to?

不是

22. Examine the DNS query message. What “Type” of DNS query is it? Does the query message contain any “answers”?

23. Examine the DNS response message. How many “answers” are provided? What does each of these answers contain?

18. To what IP address is the DNS query message sent? Is this the IP address of your default local DNS server?

19. Examine the DNS query message. What “Type” of DNS query is it? Does the query message contain any “answers”?

20. Examine the DNS response message. What MIT name servers does the response message provide? Does this response message also provide the IP addresses of the MIT name servers?

21. To what IP address is the DNS query message sent? Is this the IP address of your default local DNS server? If not, what does the IP address correspond to?

不是

22. Examine the DNS query message. What “Type” of DNS query is it? Does the query message contain any “answers”?

23. Examine the DNS response message. How many “answers” are provided? What does each of these answers contain?

本文来源:https://www.bwwdw.com/article/9q8x.html

Top