cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
301
Views
0
Helpful
1
Replies

Split DNS for use by router itself

bbosch4210
Level 1
Level 1

Hi

I have a requirement for the router itself to use multiple DNS servers for name resolution. I've configured view-groups and they work when the router (ISR4431) is configured as a DNS server. But when I try and ping the hosts from the router itself, only the default view is used, not the others with lower evaluation orders.

 

ip dns view specific

 domain name-server 1.1.1.1

ip dns view default

 domain name-server 2.2.2.2

!

ip dns view-list split-dns-test

 view specific 10

  restrict name-group 1

 view default 100

!

ip dns name-list 1 permit TEST

ip dns server view-group split-dns-test

ip dns server

!

end

debug ip domain

 

Shows 2.2.2.2 used. 

When I try the same from another host (With this router as DNS server), then 1.1.1.1 is used. So I know that the name-list is correct.

 

Anyone able to explain this?

 

1 Reply 1

Hello,

 

how do you test the host ping, do you specify a source interface ? Post the full config of your router...

Review Cisco Networking for a $25 gift card