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?