blocks
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blocks [2024/10/12 00:27] – protocol | blocks [2024/10/12 01:22] (current) – [Notes] protocol | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Master ===== | ||
< | < | ||
Line 4: | Line 5: | ||
ln -s / | ln -s / | ||
nano / | nano / | ||
- | |||
zone " | zone " | ||
Line 13: | Line 13: | ||
also-notify { 172.31.255.12; | also-notify { 172.31.255.12; | ||
}; | }; | ||
- | |||
- | |||
- | zone " | ||
- | type slave; | ||
- | file "/ | ||
- | masters { 172.31.255.11; | ||
- | allow-notify { 172.31.255.11; | ||
- | }; | ||
- | |||
nano / | nano / | ||
- | |||
$TTL 1H | $TTL 1H | ||
Line 37: | Line 27: | ||
; ou | ; ou | ||
; | ; | ||
- | |||
nano / | nano / | ||
- | |||
response-policy { | response-policy { | ||
zone " | zone " | ||
}; | }; | ||
- | |||
wget https:// | wget https:// | ||
Line 51: | Line 38: | ||
chown bind: / | chown bind: / | ||
systemctl restart bind9 | systemctl restart bind9 | ||
+ | nslookup 1996jogo.com 127.0.0.1 | ||
+ | </ | ||
+ | |||
+ | ===== Slave ===== | ||
+ | < | ||
+ | |||
+ | mkdir / | ||
+ | ln -s / | ||
+ | nano / | ||
+ | |||
+ | zone " | ||
+ | type slave; | ||
+ | file "/ | ||
+ | masters { 172.31.255.11; | ||
+ | allow-notify { 172.31.255.11; | ||
+ | }; | ||
+ | |||
+ | nano / | ||
+ | |||
+ | response-policy { | ||
+ | zone " | ||
+ | }; | ||
+ | |||
+ | chown bind: / | ||
+ | systemctl restart bind9 | ||
+ | nslookup 1996jogo.com 127.0.0.1 | ||
+ | </ | ||
+ | |||
+ | ===== Notes ===== | ||
+ | |||
+ | ref: https:// | ||
+ | |||
+ | |||
+ | < | ||
+ | journalctl -xeu named.service -f|grep bet | ||
+ | |||
+ | for i in $(cut -d " " -f1 bet|tr ' | ||
+ | for i in $(cut -d " " -f1 bet|tr ' | ||
</ | </ |
blocks.1728703653.txt.gz · Last modified: 2024/10/12 00:27 by protocol