zoukankan      html  css  js  c++  java
  • dns server 配置

    # cat /etc/named.conf
    //
    // named.conf
    //
    // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
    // server as a caching only nameserver (as a localhost DNS resolver only).
    //
    // See /usr/share/doc/bind*/sample/ for example named configuration files.
    //
    // See the BIND Administrator's Reference Manual (ARM) for details about the
    // configuration located in /usr/share/doc/bind-{version}/Bv9ARM.html

    options {
      directory "/var/named";
      version "get lost";

      recursion yes;
      allow-transfer {"none";};
      allow-query { any; };
      allow-recursion { any; };
    };

    logging {
            channel default_file {
                    file "data/named.log" size 10m;
                    severity debug;
                    print-time yes;
                    print-severity yes;
                    print-category yes;
            };
            category default{ default_file; };
    };

    zone "bst-1.cns.bstjpc.com" IN {
            type forward;
            forward only;
            forwarders { 109.105.30.14; };
    };

    include "/etc/named.rfc1912.zones";

    =======================================================

    # cat /etc/named.rfc1912.zones
    zone "gcloud.srcb.com" IN {
            type master;
            file "gcloud.srcb.com.zone";
    };

    =================================================

    # cat /var/named/gcloud.srcb.com.zone
    $TTL 600
    @       IN SOA  @ rname.invalid. (
                                            0       ; serial
                                            1D      ; refresh
                                            1H      ; retry
                                            1W      ; expire
                                            3H )    ; minimum
            NS      @
            A       109.105.1.253
            A       109.105.1.254
            AAAA    ::1

             IN   NS  ns1
             IN   NS  ns2
    ns1      IN   A   109.105.1.253
    ns2      IN   A   109.105.1.254
    dashboard       IN   A   109.105.1.253
                    IN   A   109.105.1.254
                    IN   A   109.105.1.208
                    IN   A   109.105.1.209
    spinnaker       IN   A   109.105.1.253
                    IN   A   109.105.1.254
                    IN   A   109.105.1.208
                    IN   A   109.105.1.209

  • 相关阅读:
    kb-07线段树-12--二分查找区间边界
    kb-07线段树--11--区间多重该值多种查询
    kb-07线段树--10--dfs序建树
    kb-09-线段树--区间合并比较繁
    kb-07线段树-08--区间开根
    kb-07-RMQ线段树--07(动态规划)
    kb-07线段树-06离散化(与第四题类似)
    kb-07线段树-05-区间整体修改查询;(水)
    poj-2486-Apple Tree
    mnist的数据预处理
  • 原文地址:https://www.cnblogs.com/mhc-fly/p/9069506.html
Copyright © 2011-2022 走看看