Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
linux:bind [2006/05/10 10:43] a created |
linux:bind [2015/08/12 10:53] zagi |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== BIND (is there anyting else?) ====== | ====== BIND (is there anyting else?) ====== | ||
- | **Speedup tips** | + | ==== DNSSEC ==== |
- | > I have built a local DNS server bind (Debian Sarge).The DNS should | + | |
- | > accelerate DNS look ups by LAN clients. | + | To enable add to bind.named.options: |
- | > But Now, in contrary | + | |
- | > webhoster :-( | + | |
- | + | dnssec-validation auto;\\ | |
- | You should use BIND 9, disable lookups over IPv6 (OPTIONS="-u bind -4" | + | dnssec-enable yes;\\ |
- | in /etc/defaults/bind9), | + | dnssec-lookaside auto;\\ |
- | cache has been filled. | + | |
+ | |||
+ | |||
+ | |||
+ | |||
+ | https:// | ||
+ | \\ | ||
+ | logging {\\ | ||
+ | ...\\ | ||
+ | category dnssec { null; | ||
+ | |||
+ | |||
+ | ==== Letting bind/named query a specific | ||
+ | |||
+ | Add to the file **''/ | ||
+ | |||
+ | <code> | ||
+ | zone " | ||
+ | type forward; | ||
+ | forward only; | ||
+ | forwarders { 192.168.0.2; | ||
+ | }; | ||
+ | </code> | ||
+ | |||
+ | Of course you need to replace ' | ||
+ | |||
+ | |||
+ | ==== Unsorted ==== | ||
+ | |||
+ | |||
+ | host -t txt -c CHAOS version.bind localhost | ||
+ | |||
+ | named - options {version "DNS daemon"; | ||
+ | |||
+ | host -t txt -c CHAOS hostname.bind localhost | ||
+ | |||
+ | gethostbyname() | ||
+ | |||
+ | |||
+ | ==== audit dns ==== | ||
+ | < | ||
+ | kernel: audit(1209076817.081: | ||
+ | </ | ||
+ | |||
+ | So I had a look in: | ||
+ | '' | ||
+ | |||
+ | and changed this line: | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | to this: | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ==== Fixing syntax highlighting in VIM ==== | ||
+ | |||
+ | **~/.vimrc** | ||
+ | < | ||
+ | " BIND zone | ||
+ | au BufNewFile, | ||
+ | " BIND configuration | ||
+ | au BufNewFile, | ||
+ | </ | ||