Ich habe auf einem Debian Sarge ein DNS isntalliert und konfiguriert. Leider hat er nun kein zugang zum Netz.
named.conf.options
Code: Select all
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you might need to uncomment the query-source
// directive below. Previous versions of BIND always asked
// questions using port 53, but BIND 8.1 and later use an unprivileged
// port by default.
// query-source address * port 53;
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forward first;
forwarders {
195.94.90.10;
204.152.184.76;
194.150.168.168;
};
auth-nxdomain no; # conform to RFC1035
// Keine Anfargen von Slave DNS erlauben
allow-transfer { none; };
allow-recursion { localhost; };
};
Code: Select all
auto eth0
iface eth0 inet static
address 172.16.1.23
netmask 255.255.255.0
network 172.16.1.0
broadcast 172.16.1.255
gateway 172.16.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 195.94.90.14
# dns-search .lan
Code: Select all
Ziel Router Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
default 172.16.1.1 0.0.0.0 UG 0 0 0 eth0
Dem Router habe ich den Debian als statischen DNS eingetragen. Alle anderen Rechner
kommen auch nach draussen, bis auf den DNS selbst!? Was habe ich nicht richtig
gemacht. Danke.