...
When configuring the below commands for ip dns exactly as below: ip dns view default domain name-server 8.8.8.8 domain name-server 8.8.4.4 domain name m3.local ip dns server ip dns primary 1111-8p soa m3.local d@d.com 0 0 0 0 ip dns primary 1111-8p soa m3.local d@d.com 60 60 60 60 ip dns primary 1111-8p soa m3.local d@d.com 60 60 86400 60 ip dns primary 1111-8p soa m3.local d@d.com 60 60 86400 86400 ip dns primary 1111-8p.m3.local soa m3.local dns@dns.com 60 60 86400 60 Steps as below: =============== After configuration, if we give a "no ip dns primary xxxxx" the command does not get removed and still shows in the configuration This can be verified by sh run | s ip dns BGL-14-K-20-C1111-8P(config)#ip dns view default BGL-14-K-20-C1111-8P(cfg-dns-view)#domain name-server 8.8.8.8 8.8.8.8 domain name-server added successfully BGL-14-K-20-C1111-8P(cfg-dns-view)#domain name-server 8.8.4.4 8.8.4.4 domain name-server added successfully BGL-14-K-20-C1111-8P(cfg-dns-view)#domain name m3.local BGL-14-K-20-C1111-8P(cfg-dns-view)#ip dns server BGL-14-K-20-C1111-8P(config)#$ary 1111-8p soa m3.local d@d.com 0 0 0 0 BGL-14-K-20-C1111-8P(config)#$ary 1111-8p soa m3.local d@d.com 60 60 60 60 BGL-14-K-20-C1111-8P(config)#$ary 1111-8p soa m3.local d@d.com 60 60 86400 60 BGL-14-K-20-C1111-8P(config)#$p soa m3.local d@d.com 60 60 86400 86400 BGL-14-K-20-C1111-8P(config)#$ soa m3.local dns@dns.com 60 60 86400 60 BGL-14-K-20-C1111-8P(config)# BGL-14-K-20-C1111-8P(config)# BGL-14-K-20-C1111-8P(config)# BGL-14-K-20-C1111-8P(config)# BGL-14-K-20-C1111-8P(config)#do sh run | i ip dns ip dns view default ip dns server ip dns primary 1111-8p soa m3.local d@d.com 60 60 86400 86400 ip dns primary 1111-8p.m3.local soa m3.local dns@dns.com 60 60 86400 60 BGL-14-K-20-C1111-8P(config)# BGL-14-K-20-C1111-8P(config)# BGL-14-K-20-C1111-8P(config)#no ip dns primary 1111-8p BGL-14-K-20-C1111-8P(config)# BGL-14-K-20-C1111-8P(config)#do sh run | s ip dns ip dns view default domain name-server 8.8.8.8 domain name-server 8.8.4.4 domain name m3.local ip dns server ip dns primary 1111-8p soa m3.local d@d.com 60 60 86400 86400 ip dns primary 1111-8p.m3.local soa m3.local dns@dns.com 60 60 86400 60 BGL-14-K-20-C1111-8P(config)#
When configuring the below commands for ip dns exactly as below: ip dns primary abcd-8p soa m3.local xxx.com 0 0 0 0 ip dns primary abcd-8p soa m3.local xxx.com 60 60 60 60
None
None