FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
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 ==== | + | |
+ | */usr/share/ | ||
+ | \\ | ||
+ | ===== / | ||
/ | / | ||
Line 256: | Line 259: | ||
}; | }; | ||
*/ | */ | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | \\ | ||
+ | ===== named.rfc1912.zones ===== | ||
+ | <sxh bash toolbar: | ||
+ | // 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:// | ||
+ | // (c)2007 R W Franks | ||
+ | // | ||
+ | // See / | ||
+ | // | ||
+ | |||
+ | zone " | ||
+ | type master; | ||
+ | file " | ||
+ | allow-update { none; }; | ||
+ | }; | ||
+ | |||
+ | zone " | ||
+ | type master; | ||
+ | file " | ||
+ | allow-update { none; }; | ||
+ | }; | ||
+ | |||
+ | zone " | ||
+ | type master; | ||
+ | file " | ||
+ | allow-update { none; }; | ||
+ | }; | ||
+ | |||
+ | zone " | ||
+ | type master; | ||
+ | file " | ||
+ | allow-update { none; }; | ||
+ | }; | ||
+ | |||
+ | zone " | ||
+ | type master; | ||
+ | file " | ||
+ | allow-update { none; }; | ||
+ | }; | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | ==== named.localhost ==== | ||
+ | <sxh bash toolbar: | ||
+ | $TTL 1D | ||
+ | @ IN SOA @ rname.invalid. ( | ||
+ | 0 ; serial | ||
+ | 1D ; refresh | ||
+ | 1H ; retry | ||
+ | 1W ; expire | ||
+ | 3H ) ; minimum | ||
+ | NS @ | ||
+ | A | ||
+ | AAAA ::1 | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | ==== named.loopback ==== | ||
+ | <sxh bash toolbar: | ||
+ | $TTL 1D | ||
+ | @ IN SOA @ rname.invalid. ( | ||
+ | 0 ; serial | ||
+ | 1D ; refresh | ||
+ | 1H ; retry | ||
+ | 1W ; expire | ||
+ | 3H ) ; minimum | ||
+ | NS @ | ||
+ | A | ||
+ | AAAA ::1 | ||
+ | PTR | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | ===== / | ||
+ | / | ||
+ | |||
+ | <sxh bash toolbar: | ||
+ | @ in soa localhost. root 1 3H 15M 1W 1D | ||
+ | ns localhost. | ||
+ | </ | ||
+ | |||
+ | |||
+ | \\ | ||
+ | ===== / | ||
+ | / | ||
+ | |||
+ | <sxh bash toolbar: | ||
+ | @ in soa localhost. root 1 3H 15M 1W 1D | ||
+ | ns localhost. | ||
</ | </ | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.