User Tools

Site Tools


blocks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blocks [2024/10/12 00:34] protocolblocks [2024/10/12 01:22] (current) – [Notes] protocol
Line 64: Line 64:
 systemctl restart bind9 systemctl restart bind9
 nslookup 1996jogo.com 127.0.0.1 nslookup 1996jogo.com 127.0.0.1
 +</code>
 +
 +===== Notes =====
 +
 +ref: https://blog.remontti.com.br/7759
 +
 +
 +<code>
 +journalctl -xeu named.service -f|grep bet
 +
 +for i in $(cut -d " " -f1 bet|tr '[:upper:]' '[:lower:]'); do echo -ne "/ip dns static add disabled=no address=127.0.0.1 comment=anatel_operacao_20241011_09_10-1 name=$i\n"; done
 +
 +for i in $(cut -d " " -f1 bet|tr '[:upper:]' '[:lower:]'); do echo -ne "$i\tIN CNAME .\n*.$i\tIN CNAME .\n"; done
 +
 </code> </code>
blocks.1728704085.txt.gz · Last modified: 2024/10/12 00:34 by protocol