10 - DNS and Email Flashcards
Old solution for tracking IPs
hosts.txt
DNS
DOmain Name SYstem
Domain Name limitations
(almost) unlimited
Recursive Query
Server asks other servers for ip address directly
Iterative Query
Server responds with another server to contact
MAx domain name length
255 total
63 in each part
What is RR?
DNS Record type
Resource Record
A record
host to ip
NS record
domain to ip of authoritative name server
CNAME record
alias to canonical name
MX Record
Mailserver name
What result types do you get from a DNS query?
Positive - one or more RR match
Negative - definitely no RR match
Server Fail - cannot find answer
Refused - not allowed to query
DNS port
53
DNS server roles
Resolver
Caching Nameserver
Authoritative Nameserver
DNS Resolver
Takes request, formates into UDP packet and sends to cache