software:bind
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| software:bind [2015/03/02 14:18] – created Michele Porelli | software:bind [2018/09/02 03:22] (current) – [Specify some overrides] Michele Porelli | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| // We want only forward requests, not act as real DNS | // We want only forward requests, not act as real DNS | ||
| forward only;</ | forward only;</ | ||
| + | - and add a new option to define who can query< | ||
| + | 192.168.2.0/ | ||
| + | localhost; | ||
| + | localnets; | ||
| + | };</ | ||
| - create your specifc tld / | - create your specifc tld / | ||
| type forward; | type forward; | ||
| Line 28: | Line 33: | ||
| - add it to the included zones in / | - add it to the included zones in / | ||
| - restart bind< | - restart bind< | ||
| - | - enjoy cached untracked queries :) | + | - enjoy cached&untracked queries :) |
| + | |||
| + | ==== Specify some overrides ==== | ||
| + | - edit / | ||
| + | - edit / | ||
| + | - edit / | ||
| + | @ SOA LOCALHOST. myhost.example.com (1 1h 15m 30d 2h) | ||
| + | NS LOCALHOST. | ||
| + | |||
| + | custom.google.com A | ||
| + | facebook.com | ||
software/bind.1425305897.txt · Last modified: (external edit)
