I was studying how to set up DNS on a Cisco router, and I got confused on this piece that stated:
"Next step is to configure your DNS server with the host names of your local network, this way when Alan's PC trys to ping or connect to Wayne, the router will successfully resolve its netbios name to the appropriate IP address:"
From: https://www.firewall.cx/cisco-technical-knowledgebase/cisco-routers/257-cisco-router-dns-server.html
However, in the network diagram they provided, the hosts Alan and Wayne are already connected to one another via a switch. So they should be able to ping and send traffic to one another anyways (via MAC address). So what's the reason behind listing the hosts when setting up DNS?