Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
linux:bind [2010/08/04 17:29]
greebo
linux:bind [2011/08/01 13:31]
193.164.137.40 [audit dns]
Line 1: Line 1:
 ====== BIND (is there anyting else?) ====== ====== BIND (is there anyting else?) ======
- 
 ==== DNSSEC ==== ==== DNSSEC ====
 +
  
 To enable add to bind.named.options:\\ To enable add to bind.named.options:\\
Line 18: Line 18:
         category dnssec { null;};};\\         category dnssec { null;};};\\
  
-===== Speedup tips =====+==== Speedup tips ====
  
   > I have built a local DNS server bind (Debian Sarge).The DNS should   > I have built a local DNS server bind (Debian Sarge).The DNS should
Line 29: Line 29:
   cache has been filled.   cache has been filled.
  
-===== Letting bind/named query a specific DNS server for only one specific domain =====+==== Letting bind/named query a specific DNS server for only one specific domain ====
  
 Add to the file **''/etc/bind/named.conf.local''**: Add to the file **''/etc/bind/named.conf.local''**:
Line 44: Line 44:
  
  
-===== Unsorted =====+==== Unsorted ====
  
  
Line 56: Line 56:
  
  
-=== audit dns === +==== audit dns ===
-kernel: audit(1209076817.081:16): type=1503 operation="inode_create" requested_mask="w::" denied_mask="w::" name="/etc\\/bind/xxxxx.com.hosts.jnl" pid=16561 profile="/usr/sbin/named" namespace="default"\\ +<code> 
-\\ +kernel: audit(1209076817.081:16): type=1503 operation="inode_create" requested_mask="w::" denied_mask="w::" name="/etc/bind/xxxxx.com.hosts.jnl" pid=16561 profile="/usr/sbin/named" namespace="default" 
-So I had a look in:\\ +</code> 
-/etc/apparmor.d/usr.sbin.named\\ + 
-\\ +So I had a look in: 
-and changed this line:\\ +''/etc/apparmor.d/usr.sbin.named'' 
-/etc/bind/** r,\\ + 
-\\ +and changed this line: 
-to this:\\ +</code> 
-/etc/bind/** rw,\\+/etc/bind/** r, 
 +</code> 
 + 
 +to this: 
 +<code> 
 +/etc/bind/** rw, 
 +</code> 
 + 
 +==== Fixing syntax highlighting in VIM ==== 
 + 
 +**~/.vimrc** 
 +<code> 
 +" BIND zone 
 +au BufNewFile,BufRead */named/db.*,*/bind/master/*,*/bind/slave/*,*/bind/arpa/* call s:StarSetf('bindzone'
 +" BIND configuration 
 +au BufNewFile,BufRead named.conf,rndc.conf,arpa.conf,named*,master.conf,slave.conf      setf named 
 +</code>
  
linux/bind.txt · Last modified: 2015/08/12 14:46 by zagi
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready