FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
middleware:bind:conf002.html [2018/02/08 00:20] kurihara ↷ Page name changed from middleware:bind:named.conf.002.html to middleware:bind:conf002.html |
middleware:bind:conf002.html [2018/02/13 00:36] (current) kurihara |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| *CentOS7 | *CentOS7 | ||
| - | */ | + | */ |
| \\ | \\ | ||
| - | ==== named.conf ==== | + | ===== /etc/named.conf ===== |
| + | / | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| Line 258: | 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.