ip host view first ccna 10.124.36.33
ip host view second ccie 10.124.36.26
ip dns view first
ip dns view third
domain name-server 10.124.36.31
ip dns view second
domain name cisco.com
ip dns view-list ciscolist
view third 10
restrict source access-group 2
view second 20
restrict source access-group 1
view first 30
restrict source access-group 3
ip dns name-list 10 permit ccie.com
ip dns name-list 20 permit ccna.com
ip dns server
access-list 1 permit 123.1.1.1
access-list 2 permit 123.2.2.2
access-list 3 permit 123.3.3.3
interface GigabitEthernet0/0
ip address 10.124.36.30 255.255.255.0
ip dns view-group ciscolist