FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


middleware:bind:conf002.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
middleware:bind:conf002.html [2018/02/08 00:06]
kurihara created
middleware:bind:conf002.html [2018/02/13 00:36] (current)
kurihara
Line 6: Line 6:
 \\ \\
  
-===== CentOS7 ===== +===== Introduction ===== 
-==== /etc/named.conf ====+  *CentOS7 
 +  */usr/share/doc/bind-9.9.4/sample/
  
 +\\
 +===== /etc/named.conf =====
 /usr/share/doc/bind-9.9.4/sample/etc/named.conf /usr/share/doc/bind-9.9.4/sample/etc/named.conf
  
Line 256: Line 259:
 }; };
 */ */
 +</sxh>
 +
 +
 +
 +\\
 +===== named.rfc1912.zones =====
 +<sxh bash toolbar:false gutter:false>
 +// named.rfc1912.zones:
 +//
 +// Provided by Red Hat caching-nameserver package
 +//
 +// ISC BIND named zone configuration for zones recommended by
 +// RFC 1912 section 4.1 : localhost TLDs and address zones
 +// and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
 +// (c)2007 R W Franks
 +//
 +// See /usr/share/doc/bind*/sample/ for example named configuration files.
 +//
 +
 +zone "localhost.localdomain" IN {
 +        type master;
 +        file "named.localhost";
 +        allow-update { none; };
 +};
 +
 +zone "localhost" IN {
 +        type master;
 +        file "named.localhost";
 +        allow-update { none; };
 +};
 +
 +zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
 +        type master;
 +        file "named.loopback";
 +        allow-update { none; };
 +};
 +
 +zone "1.0.0.127.in-addr.arpa" IN {
 +        type master;
 +        file "named.loopback";
 +        allow-update { none; };
 +};
 +
 +zone "0.in-addr.arpa" IN {
 +        type master;
 +        file "named.empty";
 +        allow-update { none; };
 +};
 +</sxh>
 +
 +\\
 +==== named.localhost ====
 +<sxh bash toolbar:false gutter:false>
 +$TTL 1D
 +@       IN SOA  @ rname.invalid. (
 +                                        0       ; serial
 +                                        1D      ; refresh
 +                                        1H      ; retry
 +                                        1W      ; expire
 +                                        3H )    ; minimum
 +        NS      @
 +        A       127.0.0.1
 +        AAAA    ::1
 +</sxh>
 +
 +\\
 +==== named.loopback ====
 +<sxh bash toolbar:false gutter:false>
 +$TTL 1D
 +@       IN SOA  @ rname.invalid. (
 +                                        0       ; serial
 +                                        1D      ; refresh
 +                                        1H      ; retry
 +                                        1W      ; expire
 +                                        3H )    ; minimum
 +        NS      @
 +        A       127.0.0.1
 +        AAAA    ::1
 +        PTR     localhost.
 +</sxh>
 +
 +
 +
 +\\
 +\\
 +===== /var/named/my.external.zone.db =====
 +/usr/share/doc/bind-9.9.4/sample/var/named/my.external.zone.db
 +
 +<sxh bash toolbar:false gutter:false>
 +@ in soa localhost. root 1 3H 15M 1W 1D
 +  ns localhost.
 +</sxh>
 +
 +
 +\\
 +===== /var/named/my.internal.zone.db =====
 +/usr/share/doc/bind-9.9.4/sample/var/named/my.internal.zone.db
 +
 +<sxh bash toolbar:false gutter:false>
 +@ in soa localhost. root 1 3H 15M 1W 1D
 +  ns localhost.
 </sxh> </sxh>
  


middleware/bind/conf002.html.1518015969.txt.gz · Last modified: 2018/02/08 00:06 by kurihara