DNS 101 Flashcards
(41 cards)
DNS stands for
Domain name system
Naming of Route53
because DNS is using Port 53
DNS is used to
convert human friendly domain names into an IP address
IP addresses are used by computers to
identify each other on the network
IP addresses come in 2 different forms
- IPv4 - 32 bit field (4B diff addresses)
2. IPv6 - created to solve the depletion issue for IPv4 and has an address space of 128bits (34 undecillion address)
TLD
Top Level domain; .com, .edu, .gov etc
Second level domain ex
.co.uk, .gov.uk
TLDs are controlled by
Internet Assigned Numbers Authority (IANA) - root zone database of all top level domains
Domain Registrar
> authority that can assign domain names directly under one or more top level domains
these domains are registered with InterNIC, a service of ICANN, which enforces uniqueness of domain names across the internet
WhoIS DB
a central DB that has all registered domain names
Popular domain registrars
Amazon, GoDaddy.com, 123-reg.co.uk
SOA
Start of Authority Record
SOA record stores info about
- name of the server that supplied the data for the zone
- Admin of the zone
- current version of the data file
- default number of seconds for the TTL file on resource records
NS
Name Server Records
NS are used by
TLD servers to direct traffic to the Content DNS server which contains the authoritative DNS records
Browser to SOA sequence of steps
- Browser doesn’t know the IP address of the hellocloudgurus2019.com
- Browser goes to the top level domain, it’s querying for the authoritative dns record.
Ø I have this hellocloudgurus.com, I need to know the ip address for it
Ø TLD doesn’t contain the IP addresses - it only has hellocloudgurus2019.com 172800 IN NS ns.awsdns.com - Once you have the NS info, it queries the NS Records
- NS records will then give us the SOA
- In the SOA, that’s where we’ll have our DNS records
A Record
- Fundamental type of DNS record.
2. “A” for Address
A record is used
by a computer to translate the name of the domain to an IP address;
ex: www.acloudguru.com might point to http://123.10.10.80
TTL
Time to live - length in seconds that a DNS record is cached on either the Resolving server or the users own local PC
TTL change propagation
the lower TTL, the faster changes to DNS records take to propagate throughout the internet
Default TTL for most providers
48 hours
CNAME
Canonical Name - can be used to resolve one domain name to another
Example of CNAME
http://m.acloud.guru is using the same address for mobile.acloud.guru (batman see West Adam)
Alias records are used to
map resource record sets in your hosted zone to ELBs, CloudFront distributions or S3 buckets that are configured as webistes