Article Title: About how to uninstall and install the Linux operating system DNS package. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
[Root @ linux-tys root] # rpm-qa | grep bind
Bind-9.2.1-16 -- this version of DNS is not stable, so you need to upgrade to version 9.2.1.
Redhat-config-bind-1.9.0-13
Bind-utils-9.2.1-16
Ypbind-1.11-4
1. Delete the 9.2.1 package because the version is not stable.
[Root @ linux-tys root] # rpm-e bind-9.2.1-16 -- the associated package is displayed when the package is deleted. Delete the package first.
Error: Failed dependencies:
Bind is needed by (installed) redhat-config-bind-1.9.0-13
Bind is needed by (installed) caching-nameserver-7.2-7
Bind> = 9.1.3-0. rc2.3 is needed by (installed) caching-nameserver-7.2-7
[Root @ linux-tys root] # rpm-e caching-nameserver-7.2-7
Warning:/etc/named. conf saved as/etc/named. conf. rpmsave
[Root @ linux-tys root] # rpm-e redhat-config-bind-1.9.0-13 -- delete graphical configuration tools
[Root @ linux-tys root] # rpm-e bind-9.2.1-16 -- delete DNS package
Warning:/etc/rndc. key saved as/etc/rndc. key. rpmsave -- the system prompts that a file is saved in ......
[Root @ linux-tys root] # rm-f/etc/rndc. key. rpmsave
[Root @ linux-tys root] # rm-f/etc/named. conf. rpmsave
[Root @ linux-tys root] # rpm-e bind-utils-9.2.1-16
[Root @ linux-tys root] # rpm-qa | grep bind
Ypbind-1.11-4 -- this package is DNS independent
Note: uninstall the Toolkit at last. Install the Toolkit first.
2. Install the 9.2.2 package
[Root @ linux-tys plugin Doc] # rpm-ivh bind-utils-9.2.2-13Thiz.i586.rpm-install the Toolkit first
Warning: bind-utils-9.2.2-13Thiz.i586.rpm: V3 DSA signature: NOKEY, key ID f2b3fb5e
Preparing ...... ############# [100%]
1: bind-utils ############## [100%]
[Root @ linux-tys release Doc] # rpm-ivh bind-9.2.2-13Thiz.i586.rpm
Warning: bind-9.2.2-13Thiz.i586.rpm: V3 DSA signature: NOKEY, key ID f2b3fb5e
Preparing ...... ############# [100%]
1: bind ############## [100%]
Appendix: linux dns Client Configuration
[Root @ linux-clt named] # more/etc/resolv. conf
Nameserver 172.16.1.1 -- the first DNS Server
Nameserver 61.139.2.69
Nameserver 192.168.80.10
Search sky.com
Domain sky.com