#configure terminal | Enter Configure mode. |
(config)#ip name-server vrf management 10.12.17.11 | This add a IPv4 Name Server to the DNS. |
(config)#ip name-server vrf management 10.1.1.2 | This add a IPv4 Name Server to the DNS. |
(config)#ip host vrf management BINGO 10.1.1.1 | This will add IPv4 host to the DNS |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#exit | Exit configure mode. |
#configure terminal | Enter Configure mode. |
(config)#ip name-server vrf management 3001::1 | This add a IPv6 Name Server to the DNS. |
(config)#ip host vrf management bingo 5001::1 | This will add IPv6 host to the DNS |
(config)#commit | Commit the Candidate configuration to the running configuration |
(config)#exit | Exit configure mode. |
#configure terminal | Enter configure mode |
(config)# ip vrf vrf1 | Configuring user defined vrf in global |
(config)#commit | Commit the candidate configuration to the running configuration |
#configure terminal | Enter Configure mode |
(config)#ip domain-lookup vrf vrf1 | This command is to enable DNS for user-defined vrf |
(config)#ip name-server vrf vrf1 10.12.17.11 | This add a IPv4 Name Server to the DNS |
(config)#ip name-server vrf vrf1 10.1.1.2 | This add a IPv4 Name Server to the DNS |
(config)#ip host vrf vrf1 BINGO 10.1.1.1 | This will add IPv4 host to the DNS |
(config)#commit | Commit the candidate configuration to the running configuration |
(config)#exit | Exit configure mode |
#configure terminal | Enter Configure mode |
(config)#ip name-server vrf vrf1 3001::1 | This add a IPv6 Name Server to the DNS |
(config)#ip host vrf vrf1 bingo 5001::1 | This will add IPv6 host to the DNS |
(config)#commit | Commit the Candidate configuration to the running configuration |
(config)#exit | Exit configure mode |