# How can you tell whether a client problem is DHCP, DHCP relay, or DNS?

Exam: 200-301 — Implementing and Administering Cisco Solutions
Knowledge domain: IP Services
Updated: 2026-11-25T05:30:52.940279+00:00
HTML: https://learningpathx.com/faq/200-301/ccna200301-dhcp-relay-or-dns.html

## Also asked as

- How do I separate a DHCP lease or relay problem from a DNS lookup failure?
- How do client settings and name-versus-address tests distinguish DHCP, relay, and DNS problems?

Start with the client's current lease and network settings. Dynamic Host Configuration Protocol (DHCP) supplies parameters such as an IPv4 address, subnet mask, default gateway, and DNS resolver address. A DHCP relay carries DHCP messages between a client subnet and a server on another subnet. Domain Name System (DNS) servers answer record queries even when the client receives those server addresses from DHCP. A valid lease can coexist with a failed DNS lookup.

* If the client receives no usable lease, check its VLAN and the server's scope for that subnet. When the server is on another subnet, check that the client-facing Layer 3 interface relays to the intended DHCP server and that requests and replies can traverse the routed path. Confirm the client obtains a lease for its own subnet.
* If the lease looks correct, test access to the intended service by IP where the application supports that test. Check the resolver address supplied to the client and query that resolver for the failing name and intended record type. Name resolution can fail from a missing or unreachable resolver, an unavailable service, or a missing record.
* If the IP-based test also fails, check the client's address, gateway, path, and the relevant transport or application before attributing the failure to DNS.

For common DHCPv4 deployments on Cisco IOS XE, the relay supports clients with a centralized server. The relay resides on the client-facing Layer 3 interface for that subnet.

### References

* [Catalyst 9300 DHCP relay](https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/17-15/configuration_guide/ip/b_1715_ip_9300_cg/configuring_dhcp.html)
* [Cisco IOS XE DHCP server client options](https://www.cisco.com/c/en/us/td/docs/routers/ios/config/17-x/ip-addressing/b-ip-addressing/m_config-dhcp-server-xe.html)

Source: [CCNA IP Services: NAT, DHCP, DNS, NTP, SNMP, Syslog, QoS, and SSH](https://learningpathx.com/news/ccna-ip-services-nat-dhcp-dns-ntp-snmp-syslog-qos-and-ssh.html)
