blocks
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
blocks [2024/10/12 00:22] – created 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 14: | Line 14: | ||
}; | }; | ||
- | + | nano / | |
- | / | + | |
$TTL 1H | $TTL 1H | ||
Line 29: | Line 27: | ||
; ou | ; ou | ||
; | ; | ||
- | |||
nano / | nano / | ||
- | |||
response-policy { | response-policy { | ||
zone " | zone " | ||
}; | }; | ||
- | |||
wget https:// | wget https:// | ||
Line 43: | 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.1728703355.txt.gz · Last modified: 2024/10/12 00:22 by protocol