TCP/IP and DNS Flashcards

1
Q

Explain UDP.

A

UDP is a connectionless communication - “fire and forget” - the sender doesn’t care if the recipient has bandwidth or receives the message.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain TCP.

A

TCP is a connection-oriented communcation. It ensures packets arrive at the right time, and in the right order.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name some typical protocols which use UDP?

A

TFTP, DHCP, SNMP, DNS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name some typical protocols which use TCP?

A

FTP, HTTP, SSH, DNS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What’s the TCP three-way handshake?

A

SYN, SYN/ACK, ACK.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What’s the DNS namespace?

A

The area of the internet that a DNS server holds and manages the records for

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

DNS is port 53. What would you use UDP and TCP for?

A

Name lookups UDP, zone transfers TCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Name the two servers that make up DNS and what they do.

A

Name resolver - answers requests. Authoritative server - holds the records for a namespace.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What’s a DNS zone transfer?

A

When a DNS server passes a copy of part of its database (its “zone”) to another DNS server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Here’s an example DNS zone transfer request: (2013090800 86400 900 1209600 3600). Name each of the components

A
2013090800 - the serial number
86400 - the refresh interval 
900 - retry time
1209600 - expiry time
3600 - TTL
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What’s the refresh interval?

A

How long before the secondary DNS server asks for an update

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What’s the retry time?

A

How long the secondary server will wait to retry if the transfer fails

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What’s the expiry time?

A

How long the secondary server will spend trying to complete a transfer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What’s the TTL?

A

How long before the records are destroyed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What’s an A record?

A

Points a name to a specific IP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Whats a CNAME record?

A

Canonical name - an alias for the name, points a name at a name

17
Q

Whats an MX record?

A

Points at the mail exchange

18
Q

What’s an NS record?

A

Points to the authoritative name servers for the domain

19
Q

“How long before the secondary DNS server asks for an update”. What’s being described?

A

Refresh interval

20
Q

“How long the secondary server will wait to retry if the transfer fails”. What’s being described?

A

Retry time

21
Q

“How long the secondary server will spend trying to complete a transfer.” What’s being described?

A

Expiry time

22
Q

“How long before the records are destroyed”. What’s being described?

A

TTL