How to uninstall and install the Linux operating system DNS package

Source: Internet
Author: User
Tags nameserver
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.