1. gzyueqian
      13352868059
      首頁 > 新聞中心 > > 正文

      關(guān)于Linux操作系統(tǒng)DNS包卸載和安裝方法

      更新時(shí)間: 2008-04-17 14:07:42來源: 粵嵌教育瀏覽量:607

        [root@linux-tys root]# rpm -qa | grep bind

        bind-9.2.1-16 -----這個(gè)版本的DNS不太穩(wěn)定,所以要升級(jí)到9.2.1之上的版本

        redhat-config-bind-1.9.0-13

        bind-utils-9.2.1-16

        ypbind-1.11-4

        1、刪除9.2.1的包,因這個(gè)版本不太穩(wěn)定

        [root@linux-tys root]# rpm -e bind-9.2.1-16 ----刪除包時(shí)可以看到提示有關(guān)聯(lián)的包,需要先刪除

        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 ----刪除圖形配置工具

        [root@linux-tys root]# rpm -e bind-9.2.1-16 ----刪除DNS包

        warning: /etc/rndc.key saved as /etc/rndc.key.rpmsave ----提示有一個(gè)文件保存于……

        [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 -----此包與DNS無關(guān)

        注意:卸載時(shí)卸工具包,安裝時(shí)要先安裝工具包

        2、安裝9.2.2的包

        [root@linux-tys sharedoc]# rpm -ivh bind-utils-9.2.2-13Thiz.i586.rpm ----應(yīng)先安裝工具包

        warning: bind-utils-9.2.2-13Thiz.i586.rpm: V3 DSA signature: NOKEY, key ID f2b3fb5e

        Preparing... ############## []

        1:bind-utils ############## []

        [root@linux-tys sharedoc]# 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... ############## []

        1:bind ############## []

        附:linux dns 客戶端配置

        [root@linux-clt named]# more /etc/resolv.conf

        nameserver 172.16.1.1 -----個(gè)DNS服務(wù)器

        nameserver 61.139.2.69

        nameserver 192.168.80.10

        search sky.com

        domain sky.com

      免費(fèi)預(yù)約試聽課

      亚洲另类欧美综合久久图片区_亚洲中文字幕日产无码2020_欧美日本一区二区三区桃色视频_亚洲AⅤ天堂一区二区三区

      
      

      1. 日本熟女A∨乱伦中出 | 亚洲一区二区三区在线播放 | 中文字幕精品免费 | 亚洲性爱免费视频网 | 日韩高清乱码中文字幕第一页 | 亚州不卡AV在线播放 |