ubuntu:bind:setup_bind9
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:bind:setup_bind9 [2020/05/11 17:40] – peter | ubuntu:bind:setup_bind9 [2020/11/28 11:07] (current) – [named.conf.options] peter | ||
---|---|---|---|
Line 198: | Line 198: | ||
// version statement - inhibited for security | // version statement - inhibited for security | ||
- | // (avoids hacking any known weaknesses)»· | + | // (avoids hacking any known weaknesses)· |
version " | version " | ||
Line 205: | Line 205: | ||
// ports to talk. See http:// | // ports to talk. See http:// | ||
- | // If your ISP provided one or more IP addresses for stable· | + | // If your ISP provided one or more IP addresses for stable |
- | // nameservers, | + | // nameservers, |
- | // Uncomment the following block, and insert the addresses | + | // Uncomment the following block, and insert the addresses |
// the all-0' | // the all-0' | ||
Line 215: | Line 215: | ||
forwarders { | forwarders { | ||
- | // Sure Public DNS | + | // Sure Public DNS. |
// | // | ||
// | // | ||
- | // Google Public DNS | + | // Google Public DNS. |
//8.8.8.8; | //8.8.8.8; | ||
//8.8.4.4; | //8.8.4.4; | ||
- | // OpenDNS | + | // OpenDNS. |
- | 208.67.222.222; | + | |
- | 208.67.220.220; | + | |
+ | |||
+ | // Pi-Hole. | ||
+ | 192.168.1.26; | ||
+ | 192.168.1.25; | ||
}; | }; | ||
Line 249: | Line 253: | ||
===== named.conf.local ===== | ===== named.conf.local ===== | ||
- | |||
<file bash / | <file bash / | ||
Line 361: | Line 364: | ||
}; | }; | ||
}; | }; | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== ad-blacklist ===== | ||
+ | |||
+ | <file bind ad-blacklist> | ||
+ | // For more information about this list, see: https:// | ||
+ | // ---- | ||
+ | // last updated: | ||
+ | // entries: | ||
+ | // format: | ||
+ | // credits: | ||
+ | // this URL: http:// | ||
+ | // other formats: | ||
+ | |||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | zone " | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Internals - ad-null.zone ===== | ||
+ | |||
+ | <file bind / | ||
+ | ; Ads get redirected to 127.0.0.1 | ||
+ | | ||
+ | $TTL 86400 | ||
+ | @ | ||
+ | | ||
+ | 86400 ; Refresh | ||
+ | 300 ; Retry | ||
+ | | ||
+ | 3600 ; Negative Cache TTL | ||
+ | ); | ||
+ | |||
+ | ; define the name server | ||
+ | IN NS ns1.sharewiz.net. | ||
+ | ; define the hostnames | ||
+ | @ | ||
+ | * | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Internals - 1.168.192.db ===== | ||
+ | |||
+ | <file bind / | ||
+ | ; sharewiz.net | ||
+ | $TTL 86400 | ||
+ | @ | ||
+ | | ||
+ | 3600 ; Refresh | ||
+ | 1800 ; Retry | ||
+ | 2419200 ; Expire | ||
+ | 86400 ; Negative Cache TTL | ||
+ | ); | ||
+ | |||
+ | ; define the name server | ||
+ | IN NS ns1.sharewiz.net.· | ||
+ | ns1 | ||
+ | |||
+ | ; define the range of this domain | ||
+ | IN PTR | ||
+ | IN A | ||
+ | |||
+ | ; define the hostnames | ||
+ | 1 | ||
+ | 1 | ||
+ | 2 | ||
+ | 2 | ||
+ | 2 | ||
+ | 2 | ||
+ | 2 | ||
+ | 2 | ||
+ | 10 IN PTR | ||
+ | 15 IN PTR | ||
+ | 69 IN PTR | ||
+ | 70 IN PTR | ||
+ | 80 IN PTR | ||
+ | 90 IN PTR | ||
+ | 99 IN PTR | ||
+ | 100 | ||
+ | |||
+ | ; define drdizzy.com | ||
+ | IN PTR | ||
+ | IN PTR | ||
+ | |||
+ | ; define magicalentertainmentandsound.com | ||
+ | IN PTR | ||
+ | IN PTR | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Internals - db.sharewiz.net ===== | ||
+ | |||
+ | <file bind / | ||
+ | ; sharewiz.net | ||
+ | $TTL 86400 | ||
+ | @ | ||
+ | | ||
+ | 3600 ; Refresh | ||
+ | 1800 ; Retry | ||
+ | 2419200 ; Expire | ||
+ | 86400 ; Negative Cache TTL | ||
+ | ); | ||
+ | |||
+ | ; define the name server | ||
+ | IN NS ns1.sharewiz.net. | ||
+ | |||
+ | ; define the name server IP address | ||
+ | IN A | ||
+ | |||
+ | ; define the mail exchanger | ||
+ | IN MX 10 mail.sharewiz.net. | ||
+ | mail IN A | ||
+ | |||
+ | ; define the hostnames | ||
+ | gateway | ||
+ | router | ||
+ | ns1 | ||
+ | ftp | ||
+ | server1 | ||
+ | webmail | ||
+ | wiki IN A | ||
+ | www | ||
+ | ;www | ||
+ | * | ||
+ | @ | ||
+ | nas | ||
+ | switch | ||
+ | shield | ||
+ | peter | ||
+ | virginia | ||
+ | felix | ||
+ | felix2 | ||
+ | printer | ||
+ | extender | ||
+ | |||
+ | ; define the SPF | ||
+ | sharewiz.net. | ||
+ | ; | ||
+ | |||
+ | ; define the DMARC | ||
+ | ; | ||
+ | _dmarc.sharewiz.net. IN TXT " | ||
</ | </ | ||
ubuntu/bind/setup_bind9.1589218825.txt.gz · Last modified: 2020/07/15 09:30 (external edit)