[HO]Xerxes
02.06.04, 15:29
Um mit Apache Virtual Hosts zu realisieren habe ich mir bind9 eingerichtet. Selbiger läuft auch, nur dauert die Namensauflösung der lokalen Virtual Hosts meist superlange - aber nur, wenn ich offline bin.
Meine named.conf:
options {
directory "/var/lib/named";
# forwarders { 62.104.191.241; 62.104.196.134; };
listen-on port 53 { 127.0.0.1; 192.168.0.1; };
# listen-on-v6 { any; };
query-source address * port 53;
transfer-source * port 53;
notify-source * port 53;
allow-query { 127.0.0.1; 192.168.0/24; };
statistics-interval 0;
notify no;
};
zone "localhost" in {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
zone "kolborn" in {
type master;
file "kolborn.zone";
};
zone "0.168.192.in-addr.arpa" in {
type master;
file "192.168.0.zone";
};
zone "." in {
type hint;
file "root.hint";
};
Das forwarders hab ich schon auskommentiert, aber geholfen hats nicht.
Meine named.conf:
options {
directory "/var/lib/named";
# forwarders { 62.104.191.241; 62.104.196.134; };
listen-on port 53 { 127.0.0.1; 192.168.0.1; };
# listen-on-v6 { any; };
query-source address * port 53;
transfer-source * port 53;
notify-source * port 53;
allow-query { 127.0.0.1; 192.168.0/24; };
statistics-interval 0;
notify no;
};
zone "localhost" in {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
zone "kolborn" in {
type master;
file "kolborn.zone";
};
zone "0.168.192.in-addr.arpa" in {
type master;
file "192.168.0.zone";
};
zone "." in {
type hint;
file "root.hint";
};
Das forwarders hab ich schon auskommentiert, aber geholfen hats nicht.