DNS Flashcards
What is the difference between Iterative and Recursive DNS servers?
With iterative servers, the client is responsible for querying all levels of DNS servers by itself whereas recursive servers do the job on behalf of the client.
DNS Resolvers are recursive in nature.
What is FQDN?
protocol://sub-domain.domain-name.top-level-domain
E.G. https://www.google.com
What are the four levels of DNS servers?
Authoritative Name servers
TLD Server
Root Servers
DNS Resolvers (recursive)
List two commands to resolve domain names.
dig (Linux)
nslookup (Windows)
How do you check if the DNS resolution coming from the cache?
dig (in Linux)
TTL is provided; Query Time: 0 msec
List the names of two DNS resolvers and their IP.
Cloudflare (1.1.1.1)
Google (8.8.8.8, 8.8.4.4)
How many Root Servers are there across the globe?
13 servers across the globe maintained by InterNIC
What is the typical caching time for DNS queries in the client?
What is the advantage of having low TTL?
5 - 15 mins (depending on the domain)
Low TTL is needed for HA
Which service in AWS responsible for DNS?
Route 53
Can DNS servers facilitate client-side load balancing?
By providing multiple values (i.e. IPs) in the response
How would you locate the nearest DNS server to reduce the response time of DNS queries?
Using Anycast Routing
(8.8.8.8 & 1.1.1.1 are Anycast IP)
What is GeoDNS or GeoLocation Routing(AWS)?
DNS servers check the location of the user based on request’s IP and respond with server IP nearest to the client.
What are the three methods to prevent evesdropping of data by your company?
Use split tunnel in VPN. Traffic for routes are not pushed by company won’t go to corporate network. However, company will force to use their DNS servers and log browsing history.
Use VPN server to encrypt your data but company can still log browsing history as DNS is over http.
In Browser enable, DNS over HTTPS. However, company will manage browser and will disable this option.
Last option, disconnect VPN and then work. However, Yashika’s company controls that too. Legacy vendors have a solution.
Use your own laptop BYOD but that might not be allowed by company
Use TOR browser however it might be blocked by someone