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 Last revision Both sides next revision | ||
middleware:bind:conf101.html [2018/02/08 00:37] kurihara created |
middleware:bind:conf101.html [2018/02/12 23:50] kurihara |
||
---|---|---|---|
Line 1: | Line 1: | ||
[[middleware: | [[middleware: | ||
- | ====== Bind Configuration Example : Master / Slave ====== | + | ====== Bind Internal and External |
\\ | \\ | ||
Line 19: | Line 19: | ||
allow-query { | allow-query { | ||
127.0.0.1; | 127.0.0.1; | ||
- | 192.168.0.0/ | + | 192.168.0.0/ |
}; | }; | ||
allow-transfer { | allow-transfer { | ||
- | | + | |
}; | }; | ||
+ | | ||
forwarders { | forwarders { | ||
- | XXX.XXX.XX.XX; | + | XXX.XXX.XX.XX; |
XXX.XXX.XX.XX; | XXX.XXX.XX.XX; | ||
}; | }; | ||
Line 33: | Line 34: | ||
// | // | ||
- | zone " | + | //zone " |
- | type hint; | + | // type hint; |
- | file " | + | // file " |
- | }; | + | //}; |
Line 58: | Line 59: | ||
allow-query { any; }; | allow-query { any; }; | ||
allow-update { none; }; | allow-update { none; }; | ||
- | allow-transfer { xx.xx.xx.xx; | + | allow-transfer { xx.xx.xx.xx; |
- | xx.xx.xx.xx; | + | |
}; | }; | ||
Line 68: | Line 68: | ||
allow-query { any; }; | allow-query { any; }; | ||
allow-update { none; }; | allow-update { none; }; | ||
- | allow-transfer { xx.xx.xx.xx; | + | allow-transfer { xx.xx.xx.xx; |
- | xx.xx.xx.xx; | + | |
}; | }; | ||
Line 110: | Line 109: | ||
// | // | ||
- | zone " | + | //zone " |
- | type hint; | + | // type hint; |
- | file " | + | // file " |
- | }; | + | //}; |
Line 119: | Line 118: | ||
zone " | zone " | ||
type master; | type master; | ||
- | file " | + | file " |
}; | }; | ||
zone " | zone " | ||
type master; | type master; | ||
- | file " | + | file " |
}; | }; | ||
Line 140: | Line 139: | ||
type slave; | type slave; | ||
file " | file " | ||
- | masters { xxx.xxx.xxx.xxx }; // | + | masters { xxx.xxx.xxx.xxx }; // |
}; | }; | ||
</ | </ | ||
+ | |||
+ | \\ | ||
+ | ===== / | ||
+ | |||
+ | <sxh bash toolbar: | ||
+ | $TTL 1D | ||
+ | @ IN SOA @ rname.invalid. ( | ||
+ | 0 ; serial | ||
+ | 1D ; refresh | ||
+ | 1H ; retry | ||
+ | 1W ; expire | ||
+ | 3H ) ; minimum | ||
+ | NS @ | ||
+ | A | ||
+ | AAAA ::1 | ||
+ | </ | ||
+ | |||
+ | |||
+ | \\ | ||
+ | ===== / | ||
+ | |||
+ | <sxh bash toolbar: | ||
+ | $TTL 1D | ||
+ | @ IN SOA @ rname.invalid. ( | ||
+ | 0 ; serial | ||
+ | 1D ; refresh | ||
+ | 1H ; retry | ||
+ | 1W ; expire | ||
+ | 3H ) ; minimum | ||
+ | NS @ | ||
+ | A | ||
+ | AAAA ::1 | ||
+ | PTR | ||
+ | </ | ||
\\ | \\ |
My Sites
SNS
Copyright (c) 2024 FastHandle - IT Operations Examples All Rights Reserved.