计算机网络 上机,计算机网络上机答案

Wireshark Lab: DNS

PART 1

1.Run nslookup to obtain the IP address of a Web server in Asia.

I performed nslookup for http://doc.xuehai.net

Screenshot taken after question 1

2. Run nslookup to determine the authoritative DNS servers for a university in

Europe.

I performed nslookup for a European University in Ioannina Greece

Screenshot taken after question 2

3. Run nslookup so that one of the DNS servers obtained in Question 2 is queried for

the mail servers for Yahoo! mail.

Screenshot taken after question 3

PART 3a

Screenshot for DNS query Screenshot for DNS response

4. Locate the DNS query and response messages. Are then sent over UDP or TCP?

They are sent over UDP

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

of DNS response message?

The destination port for the DNS query is 53 and the source port of the DNS response is 53.

Screenshot for ipconfig –all

6. 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?

It’s sent to 192.168.1.1 which is the IP address of one of my local DNS servers.

7. Examine the DNS query message. What “Type” of DNS query is it? Does the

query message contain any “answers”?

It’s a type A Standard Query and it doesn’t contain any answers.

8. Examine the DNS response message. How many “answers” are provided? What

do each of these answers contain?

There were 2 answers containing information about the name of the host, the type of address, class, the TTL,

the data length and the IP address.

Answers

http://doc.xuehai.net: type A, class IN, addr 209.173.57.180

Name: http://doc.xuehai.net

Type: A (Host address)

Class: IN (0x0001)

Time to live: 30 minutes

Data length: 4

Addr: 209.173.57.180

http://doc.xuehai.net: type A, class IN, addr 209.173.53.180

Name: http://doc.xuehai.net

Type: A (Host address)

Class: IN (0x0001)

Time to live: 30 minutes

Data length: 4

Addr: 209.173.53.180

9. 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?

The first SYN packet was sent to 209.173.57.180 which corresponds to the first IP address provided in the

DNS response message.

10. This web page contains images. Before retrieving each image, does your host

issue new DNS queries?

No

PART 3b

Screenshot for DNS query Screenshot for DNS response

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

of DNS response message?

The destination port of the DNS query is 53 and the source port of the DNS response is 53.

12. To what IP address is the DNS

query message sent? Is this the IP address of your

default local DNS server?

It’s sent to 192.168.1.1 which as we can see from the ipconfig

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值