Presentation is loading. Please wait.

Presentation is loading. Please wait.

DNS and TCP Sequence Numbers (Again!) EE122 Discussion 10/24/2011.

Similar presentations


Presentation on theme: "DNS and TCP Sequence Numbers (Again!) EE122 Discussion 10/24/2011."— Presentation transcript:

1 DNS and TCP Sequence Numbers (Again!) EE122 Discussion 10/24/2011

2 DNS Record Types DNS deals in terms of “resource records” Type A : Type NS : Type CNAME : TYPE MX :

3 DNS Packet Format Query/Response IDFlags #Questions#Answer RRs #Authority RRs#Additional RRs Questions Answers Authority Additional Records

4 Q2 – Default Server to root ID = 25000Flags (AA=0) #Questions = 1#Answer RRs = 0 #Authority RRs = 0#Additional RRs = 0 Q: What is A record for google.com? Ans: -- Auth: -- Add: --

5 Q2 – Root server’s reply ID = 25000Flags (AA=0) #Questions = 1#Answer RRs = 0 #Authority RRs = 2#Additional RRs = 2 Q: What is A record for google.com? Ans: -- Auth: COM. IN NSA-tld-server.com 1dy COM. IN NSB-tld-server.com 1dy Add: A-tld-server.com. A 10.16.42.33 B-tld-server.com. A 22.96.81.21 Glue Records

6 Q2 – Default Server to.com TLD ID = 25001Flags (AA=0) #Questions = 1#Answer RRs = 0 #Authority RRs = 0#Additional RRs = 0 Q: What is A record for google.com? Ans: -- Auth: -- Add: --

7 Q2 –.com TLD to default server ID = 25001Flags (AA=0) #Questions = 1#Answer RRs = 0 #Authority RRs = 1#Additional RRs = 1 Q: What is A record for google.com? Ans: -- Auth: google.comNSauth.google.com Add: auth.google.com A 202.31.21.42

8 Q2 – Default server to Auth. Server ID = 25002Flags (AA=0) #Questions = 1#Answer RRs = 0 #Authority RRs = 0#Additional RRs = 0 Q: What is A record for www.google.com? Ans: -- Auth:-- Add: --

9 Q2 – Auth. Server to Default server ID = 25002Flags (AA=1) #Questions = 1#Answer RRs = 1 #Authority RRs = 0#Additional RRs = 0 Q: What is A record for www.google.com? Ans: google.com A 202.34.101.62 Auth:-- Add: --

10 TCP Sequence Numbers Initial sequence number for the connection is not zero Sequence number refers to the first byte in the TCP packet payload

11 Question 3 a.10001 b.15000 c.1501 d.1501 – 1550


Download ppt "DNS and TCP Sequence Numbers (Again!) EE122 Discussion 10/24/2011."

Similar presentations


Ads by Google