03-31-2025 01:51 AM
Hi everyone,
Need to pick your brain here. when we add different dns entires to a switch like below:
ip name-server x.x.x.x
ip name-server y.y.y.y
ip name-server z.z.z.z
Are they being treated like ACL entries and first match takes over?
Appreciate your help.
Solved! Go to Solution.
03-31-2025 02:41 AM
There is no first match there is first try
If SW can not reach or not receive dns reply for specific try then it will use other dns server
MHM
03-31-2025 02:41 AM
There is no first match there is first try
If SW can not reach or not receive dns reply for specific try then it will use other dns server
MHM
03-31-2025 09:33 PM
@MoRe wrote:Hi everyone, njmvc
Need to pick your brain here. when we add different dns entires to a switch like below:ip name-server x.x.x.x
ip name-server y.y.y.y
ip name-server z.z.z.z
Are they being treated like ACL entries and first match takes over?
Appreciate your help.
No, `ip name-server` entries on a switch aren't like ACLs where the first match takes over. Instead, they form a list of DNS servers the switch uses for hostname resolution, typically trying them in the order configured as a fallback mechanism if the primary server is unresponsive.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide