BIND (is there anyting else?)

Speedup tips

> 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="-u bind -4"
in /etc/defaults/bind9), and you need to wait a bit until the local
cache has been filled.

Letting bind/named query a specific DNS server for only one specific domain

Add to the file /etc/bind/named.conf.local:

zone "mydomain.com" {
	type forward;
	forward only;
	forwarders { 192.168.0.2; 192.168.0.6; };
};

Of course you need to replace 'mydomain.com' as well as the 2 ip addresses in the 'forwarders'-line.

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: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:
/etc/apparmor.d/usr.sbin.named

and changed this line:
/etc/bind/ r,

to this:
/etc/bind/
rw,

/var/www/tnt.aufbix.org/data/pages/linux/bind.txt · Last modified: 2009/05/25 00:35 (external edit)
CC Attribution-Noncommercial-Share Alike 3.0 Unported www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0