Hallo!
Ich bin grade dabei mir einen Server mit DNS und DHCP aufzusetzten. DHCP funktioniert wunderbar nur bei DNS hab ich arge Probleme. Ich kann keinen Host (zB.: pn15129 erreichen), und weiß nicht woran es liegt
Hier meine named.conf (teilweise):
Die homenet.domain.de:
Und die Reserver:
Ich muss dazu sagen dass ich über den Forwarder nach draußen kommen. Ich kann also www.linux-club.de finden. Seht selbst:
Was mache ich falsch?
Viele Grüße
Tom
PS: Ich benutze Debian auf dem Server.
Ich bin grade dabei mir einen Server mit DNS und DHCP aufzusetzten. DHCP funktioniert wunderbar nur bei DNS hab ich arge Probleme. Ich kann keinen Host (zB.: pn15129 erreichen), und weiß nicht woran es liegt
Hier meine named.conf (teilweise):
// add entries for other zones below here
zone "homenet.domain.de" {
type master;
file "/etc/bind/zones/homenet.domain.de";
};
zone "15.168.192.in-addr.arpa" {
type master;
file "/etc/bind/zones/15.168.192.in-addr.arpa";
};
Die homenet.domain.de:
$TTL 86400
@ IN SOA homenet.domain.de. (
2005012801
604800
900
604800
86400
)
pn15130 IN A 192.168.15.130
pn15131 IN A 192.168.15.131
pn15129 IN A 192.168.15.129
Und die Reserver:
$TTL 1D
@ IN SOA homenet.domain.de. (
2005012801
604800
900
604800
86400 )
130.15.168.192 IN PTR pn15130.homenet.domain.de.
131.15.168.192 IN PTR pn15131.homeinet.domain.de.
129.15.168.192 IN PTR pn15129.homenet.domain.de.
Ich muss dazu sagen dass ich über den Forwarder nach draußen kommen. Ich kann also www.linux-club.de finden. Seht selbst:
pn15130:~# host -a localhost
Trying "localhost.homenet.domain.de"
Trying "localhost"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57780
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;localhost. IN ANY
;; ANSWER SECTION:
localhost. 604800 IN SOA localhost. root.localhost. 1 604800 86400 2419200 604800
localhost. 604800 IN NS localhost.
localhost. 604800 IN A 127.0.0.1
;; ADDITIONAL SECTION:
localhost. 604800 IN A 127.0.0.1
Received 114 bytes from 127.0.0.1#53 in 32 ms
Geht =)
pn15130:~# host -a www.linux-club.de
Trying "www.linux-club.de"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50840
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;www.linux-club.de. IN ANY
;; ANSWER SECTION:
www.linux-club.de. 19701 IN A 80.237.130.32
;; AUTHORITY SECTION:
linux-club.de. 15522 IN NS c1.wpns.hosteurope.de.
linux-club.de. 15522 IN NS c1.wsns.hosteurope.de.
;; ADDITIONAL SECTION:
c1.wpns.hosteurope.de. 1703 IN A 217.115.143.195
c1.wsns.hosteurope.de. 1703 IN A 80.237.128.67
Received 138 bytes from 127.0.0.1#53 in 38 ms
Geht =)
pn15130:~# host -a pn15129
Trying "pn15129.homenet.domain.de"
Trying "pn15129"
Host pn15129 not found: 3(NXDOMAIN)
Received 100 bytes from 127.0.0.1#53 in 15 ms
pn15130:~#
Geht nicht =(
Was mache ich falsch?
Viele Grüße
Tom
PS: Ich benutze Debian auf dem Server.