Module 5.3 60 minIntermediate

DNS, NTP, SNMP, and Syslog

Four supporting services every production network depends on: DNS resolves names to IPs, NTP keeps clocks accurate, SNMP polls device health, and syslog records events centrally for forensics.

Course plan — preview

What you'll learn

  • Configure a router with DNS resolvers and an NTP server.
  • Describe SNMPv2c vs SNMPv3 differences.
  • Set up syslog to a remote collector.

Part 1: DNS — the human layer of addressing

This chapter covers four services in four parts. DNS turns names into addresses, NTP keeps every clock in step, SNMP lets a monitoring server read a device's health, and syslog collects what devices report. They use different protocols and ports, but they tend to fail in the same way: quietly, while ping keeps working.

Hosts resolve www.example.com to an IP via DNS (UDP/TCP port 53). Routers can be configured with name servers so that 'ping example.com' works from the CLI. In production, recursive resolvers handle clients; routers should only resolve names for their own administrative needs.

R1(config)# ip name-server 8.8.8.8 1.1.1.1
R1(config)# ip domain-lookup

DNS record types and recursive resolution

Clients send one recursive query to their resolver; the resolver does the chasing (to the authoritative servers) on the client's behalf and returns the final answer, often from cache. Those upstream queries run between the resolver and the authoritative server, so a capture on the client's own segment only ever shows the client's query and the answer — their absence there is normal, not a DNS fault.

  • A record — maps a name to an IPv4 address (AAAA does the same for IPv6).
  • CNAME record — an alias: resolvers follow it to the canonical name and read that name's current address. Point shop.example.com at www.example.com and a failover means editing only the single A record; a second A record with the same address goes stale the first time the address changes.
  • PTR record — reverse lookup, address to name. It never creates a forward alias.
  • NS record — delegates a zone to its authoritative name servers. MX record — names the mail servers for a domain.

14 more sections in this chapter, plus a 4-question quiz and a hands-on lab.

Course plan

Modules 2–8 are part of the Course & Lab Pass and All-Access Max — start with a free account

You can see the title, summary, learning objectives and the opening sections. The rest of this chapter, like all of modules 2–8, comes with the Course & Lab Pass and All-Access Max. A free account opens Module 1: How Networks Work end-to-end and saves your labs — start there, no card required.

  • Read every chapter in Module 1 — How Networks Work
  • Save labs of up to 5 devices
  • Save up to 3 topologies
  • See the full course syllabus + chapter titles

Free account · no card required · compare plans any time

Build it step by step