Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts

Question about the function of a DNS server

Sorry if this isn't the right place to post this, but I figured anyone with a CCNA Certification would know how to answer this.

I know that a DNS server is able to translate a domain name into an IP and ship off the new string to the router, but what, if any, are some other functions of a DNS server? Yeah it's a simple question, but I'm not fully grasping the concept with this type of server and specifically how it works. Any help is greatly appreciated.

81% Upvoted
What are your thoughts? Log in or Sign uplog insign up
level 1
Just 'cause it ain't in my flair doesn't mean I don't have certs13 points · 5 months ago

A DNS server can either a) return results for records it owns itself, or b) go fetch data from other DNS servers, or both.

Thus the DNS servers for can serve things like and, directly. It could, theoretically, also query google's DNS servers to find out the IP address for

There are several types of records that exist in DNS, the most popular being A, AAAA, and PTR. A records return an IP address based on a domain name (e.g. you look for, you get AAAA records do the same, but return an IPv6 address (so is now 2000:8:8:4::4 with AAAA). PTR records allow you to query either an IPv4 or IPv6 address and get back a name, so the reverse of the A and AAAA records.

There are some other record types used for DNS itself (NS, SOA, etc), and for other things like SRV and TXT records. SRV records get seen a lot on the windows AD side, as it allows a client to find the name/address of domain controllers and the like. They can also be used with internet services for federating things like chat or voice/video communications. TXT records can serve a variety of reasons as well, such as indicating valid ownership of a domain name (web service provider gives you a code via email and asks you place it in a TXT record to prove that email account has administrative access to the domain), or for things like email to list which SMTP servers should be authorized to send on the behalf of the domain.

level 2
Original Poster3 points · 5 months ago

Thanks for the incredibly quick reply. This helped more than you know.

level 1
CCNA R&S/Security/Wireless1 point · 5 months ago

In addition to /u/a_cute_epic_axis's answer, DNS can also be used as a sort of content / URL filter. If you control the DNS server, if you have someone trying to go to a website you don't want them to, it can be configured to send them to a webpage that just says "this is a blacklisted site" instead of fetching the actual IP address. See OpenDNS.

Sure, it's not fool-proof, but it is just another layer of security.

Community Details





Create Post
r/ccna Rules
No posting of illegal materials
No posting of braindumps
Be courteous and helpful
Don't ask others to complete your labs
Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.