cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
228
Views
2
Helpful
2
Replies

IP name-server help

MoRe
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

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

View solution in original post

2 Replies 2

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

minnie584gaymon
Level 1
Level 1

@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.