DNS/life of a packet Flashcards
FQDN
Fully Qualified Domain Name.
Basic task of DNS
maps IP addresses to readable, human-friendly and easy to remember
What port does DNS use
UDP 53
ARP
Used to map the IP address to MAC address.
What layer does a ARP request happen?
Layer 2
what is destination MAC address fff.ffff.ffff
Layer 2 broadcast address
What do switches do with broadcast traffic?
forward it everywhere except the source.
what happens if a local DNS server apparatus doesn’t contain the needed record?
It will send the request up the chain until a positive response is received. which gets passed back down.
what is a FQDN www. google. com mean
www. the specified service
google. the local domain
com the top level domain
What are the three different levels of DNS servers
Local DNS Server Top Level Domain (TLD) Server Root Server Authoritative Non-Authoritative
What is the local DNS server
The server on the local network that contains the HOSTS files that map FQDN to IP address in the local subdomain
A record
Maps hostnames, or FQDNs to their IPv4 address
AAA record
Maps the FQDNs to their IPv6 address
CNAME Record
Maps canonical (alias) names to hostnames. You can have edc.edu the same as edc.org without issues.
PTR Record
Points out to DNS that their is a canonical name.
MX recrod
Mail eXchange
Maps to the email server that is specified for a specific domain. Its the record that determines how email travels from sender to recipient.
Dynamic DNS (DDNS)
Permits lightweight and immediate updates to a local DNS database. This is very useful when FQDN remains the name. but the I{ address is able to change on a regular basis.
DDNS
A method of updating traditional name servers without the intervention of a administrator (no manual editing or inputting of the configuration files is required)
DDNS provider supplies software
Flag Field
contains a bit of that specifies whether the DNS message is a query or response
Query of question field contains multiple sub-fields. two important ones
Resource name - name we want to lookup
Resource Type - type of record we are looking for
what is in a DNS answer field
Resource name
Resource Type
Address
when a DNS response message arrives at computer A what does it do first
It first updates its DNS cache.
What can a computer do after is updates it cache?
it will can ping
Most common type of record
A Record- contains a host address (IP address )