TCP/IP and DNS Flashcards
Explain UDP.
UDP is a connectionless communication - “fire and forget” - the sender doesn’t care if the recipient has bandwidth or receives the message.
Explain TCP.
TCP is a connection-oriented communcation. It ensures packets arrive at the right time, and in the right order.
Name some typical protocols which use UDP?
TFTP, DHCP, SNMP, DNS
Name some typical protocols which use TCP?
FTP, HTTP, SSH, DNS
What’s the TCP three-way handshake?
SYN, SYN/ACK, ACK.
What’s the DNS namespace?
The area of the internet that a DNS server holds and manages the records for
DNS is port 53. What would you use UDP and TCP for?
Name lookups UDP, zone transfers TCP
Name the two servers that make up DNS and what they do.
Name resolver - answers requests. Authoritative server - holds the records for a namespace.
What’s a DNS zone transfer?
When a DNS server passes a copy of part of its database (its “zone”) to another DNS server
Here’s an example DNS zone transfer request: (2013090800 86400 900 1209600 3600). Name each of the components
2013090800 - the serial number 86400 - the refresh interval 900 - retry time 1209600 - expiry time 3600 - TTL
What’s the refresh interval?
How long before the secondary DNS server asks for an update
What’s the retry time?
How long the secondary server will wait to retry if the transfer fails
What’s the expiry time?
How long the secondary server will spend trying to complete a transfer
What’s the TTL?
How long before the records are destroyed
What’s an A record?
Points a name to a specific IP