zoukankan      html  css  js  c++  java
  • OS + Linux DNS Server Bind

    [root@B2Cmonitor Server]# ps -ef | grep memcache
    root     12691 12264  0 17:46 pts/2    00:00:00 grep memcache
    lindows  21251     1  0 Jun09 ?        03:28:13 /usr/local/bin/memcached -d -u root -m 3000 -l 192.168.100.149 -p 11211

    ------------------------------------------------------------------------------

    BIND

    http://www.isc.org/software/bind

    bind是Berkeley Internet Name Domain Service的简写.

    BIND is by far the most widely used DNS software on the Internet. It provides a robust and stable platform on top of which organizations can build distributed computing systems with the knowledge that those systems are fully compliant with published DNS standards.


    [root@B2Cmonitor xampp]# cat /etc/issue
    Red Hat Enterprise Linux Server release 5.3 (Tikanga)
    Kernel \r on an \m
    [root@B2Cmonitor xampp]# getconf LONG_BIT
    64

    [root@B2Cmonitor Server]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                           14G  7.5G  5.5G  59% /
    /dev/sda1              99M   13M   82M  13% /boot
    tmpfs                 2.0G     0  2.0G   0% /dev/shm
    /dev/mapper/datavg-dblv
                           20G  6.0G   13G  32% /db2data
    /db2data/soft/RHEL5.3_x86_64.iso
                          3.4G  3.4G     0 100% /mnt/redhat

    [root@B2Cmonitor Server]# ls -l *bind*
    -r--r--r--  12 root root  984111 Jan  7  2009 bind-9.3.4-10.P1.el5.x86_64.rpm
    -r--r--r--  12 root root   43038 Jan  7  2009 bind-chroot-9.3.4-10.P1.el5.x86_64.rpm
    -r--r--r--  27 root root 2663285 Jan  7  2009 bind-devel-9.3.4-10.P1.el5.i386.rpm
    -r--r--r--  12 root root 2688947 Jan  7  2009 bind-devel-9.3.4-10.P1.el5.x86_64.rpm
    -r--r--r--  27 root root  446167 Jan  7  2009 bind-libbind-devel-9.3.4-10.P1.el5.i386.rpm
    -r--r--r--  12 root root  450942 Jan  7  2009 bind-libbind-devel-9.3.4-10.P1.el5.x86_64.rpm
    -r--r--r--  28 root root  855681 Jan  7  2009 bind-libs-9.3.4-10.P1.el5.i386.rpm
    -r--r--r--  12 root root  889426 Jan  7  2009 bind-libs-9.3.4-10.P1.el5.x86_64.rpm
    -r--r--r--  12 root root  235663 Jan  7  2009 bind-sdb-9.3.4-10.P1.el5.x86_64.rpm
    -r--r--r--  12 root root  177237 Jan  7  2009 bind-utils-9.3.4-10.P1.el5.x86_64.rpm
    -r--r--r--  42 root root 5974678 Jul  4  2008 kdebindings-3.5.4-6.el5.x86_64.rpm
    -r--r--r-- 114 root root   42665 Jul  4  2008 kdebindings-devel-3.5.4-6.el5.i386.rpm
    -r--r--r--  42 root root   42530 Jul  4  2008 kdebindings-devel-3.5.4-6.el5.x86_64.rpm
    -r--r--r--  90 root root 5523939 Dec  8  2008 system-config-bind-4.0.3-4.el5.noarch.rpm
    -r--r--r--  24 root root   37914 Dec 11  2008 ypbind-1.19-11.el5.x86_64.rpm
    [root@B2Cmonitor Server]# pwd
    /mnt/redhat/Server

    [root@B2Cmonitor xampp]# which bind
    /usr/bin/which: no bind in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
    [root@B2Cmonitor xampp]# whereis bind
    bind: /usr/share/man/man1/bind.1.gz /usr/share/man/man3p/bind.3p.gz /usr/share/man/man2/bind.2.gz
    [root@B2Cmonitor xampp]# chkconfig --list | grep bind
    winbind            0:off    1:off    2:off    3:off    4:off    5:off    6:off
    ypbind             0:off    1:off    2:off    3:off    4:off    5:off    6:off
    [root@B2Cmonitor xampp]# rpm -qa | grep bind
    bind-libs-9.3.4-10.P1.el5
    bind-utils-9.3.4-10.P1.el5
    ypbind-1.19-11.el5

    [root@B2Cmonitor Server]# rpm -ivh bind-9.3.4-10.P1.el5.x86_64.rpm
    warning: bind-9.3.4-10.P1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
    Preparing...                ########################################### [100%]
       1:bind                   ########################################### [100%]

    [root@B2Cmonitor Server]# rpm -ivh bind-chroot-9.3.4-10.P1.el5.x86_64.rpm
    warning: bind-chroot-9.3.4-10.P1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
    Preparing...                ########################################### [100%]
       1:bind-chroot            ########################################### [100%]

    [root@B2Cmonitor Server]# rpm -ivh system-config-bind-4.0.3-4.el5.noarch.rpm
    warning: system-config-bind-4.0.3-4.el5.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
    Preparing...                ########################################### [100%]
       1:system-config-bind     ########################################### [100%]

    [root@B2Cmonitor Server]# ls -l /etc/sysconfig/named
    -rw-r----- 1 root named 1669 Aug 16 17:52 /etc/sysconfig/named

    [root@B2Cmonitor ~]# bind --help
    -bash: bind: --: invalid option
    bind: usage: bind [-lpvsPVS] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-x keyseq:shell-command] [keyseq:readline-function or readline-command]

    end

  • 相关阅读:
    LeetCode——Generate Parentheses
    LeetCode——Best Time to Buy and Sell Stock IV
    LeetCode——Best Time to Buy and Sell Stock III
    LeetCode——Best Time to Buy and Sell Stock
    LeetCode——Find Minimum in Rotated Sorted Array
    Mahout实现基于用户的协同过滤算法
    使用Java对文件进行解压缩
    LeetCode——Convert Sorted Array to Binary Search Tree
    LeetCode——Missing Number
    LeetCode——Integer to Roman
  • 原文地址:https://www.cnblogs.com/lindows/p/14390314.html
Copyright © 2011-2022 走看看