Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

can I associate a ip dns view and/or ip dns view-group to a specific int ?

is there a way to bind/associate a ip dns view and/or ip dns view-group to a specific interface so I can end with something like:

interface FastEthernet0/0 description Inside

interface FastEthernet0/1 description OutsideISP#1 ... want associated to dnsViewISP1

interface FastEthernet0/2 description OutsideISP#2 ... want associated to dnsViewISP2

ip dns view dnsViewISP1

domain name-server n.n.n.11

domain name-server n.n.n.12

domain name-server interface FastEthernet0/1

domain resolver source-interface FastEthernet0/0

ip dns view dnsViewISP2

domain name-server n.n.n.21

domain name-server n.n.n.22

domain name-server interface FastEthernet0/2

domain resolver source-interface FastEthernet0/0

ip dns view-list dnsViewListISP1

view dnsViewISP1 1

restrict source access-group aclDNS

ip dns view-list dnsViewListISP2

view dnsViewISP1 2

restrict source access-group aclDNS

... so traffic routed to ISP#1 use dnsViewISP1/dnsViewListISP1

... so traffic routed to ISP#2 use dnsViewISP2/dnsViewListISP2

I can set ip dns server view-group dnsViewListISP1 or dnsViewListISP2 but not both

Router is acting as caching server with ip dns server enabled

IOS 12.4.15T.9

163
Views
0
Helpful
0
Replies
CreatePlease to create content