Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
linux:bind [2008/09/26 19:06] a |
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. | ||
- | > But Now, in contrary the local dns is slower than a custom DNS by my | ||
- | > webhoster :-( | ||
- | | ||
- | You should use BIND 9, disable lookups over IPv6 (OPTIONS=" | ||
- | in / | ||
- | cache has been filled. | ||
- | ===== Letting bind/named query a specific DNS server for only one specific domain | + | To enable add to bind.named.options: |
+ | |||
+ | |||
+ | dnssec-validation auto;\\ | ||
+ | dnssec-enable yes;\\ | ||
+ | dnssec-lookaside auto;\\ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | https:// | ||
+ | \\ | ||
+ | logging {\\ | ||
+ | ...\\ | ||
+ | category dnssec { null; | ||
+ | |||
+ | |||
+ | ==== Letting bind/named query a specific DNS server for only one specific domain ==== | ||
Add to the file **''/ | Add to the file **''/ | ||
Line 26: | Line 36: | ||
Of course you need to replace ' | Of course you need to replace ' | ||
- | ===== Unsorted | + | |
+ | ==== Unsorted ==== | ||
Line 38: | Line 49: | ||
+ | ==== audit dns ==== | ||
+ | < | ||
+ | kernel: audit(1209076817.081: | ||
+ | </ | ||
+ | |||
+ | So I had a look in: | ||
+ | ''/ | ||
+ | |||
+ | and changed this line: | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | to this: | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ==== Fixing syntax highlighting in VIM ==== | ||
+ | |||
+ | **~/ | ||
+ | < | ||
+ | " BIND zone | ||
+ | au BufNewFile, | ||
+ | " BIND configuration | ||
+ | au BufNewFile, | ||
+ | </ | ||