Beste mensen.. Ik ben bezig om een Dynamische DNS aan de gang te krijgen met DHCP. En dat werkt ook wel, op één dingetje na: Alleen de reverse map wordt geupdate, maar niet de forward map.
Ik kan dus vanuit nslookup wel 192.168.1.239 resolven naar atlantis.berflo.lan, maar andersom niet!
Hij geeft echter geen fouten..
Dit is wat hij in syslog schrijft:
Relevant stukje /etc/bind/named.conf:
En stukje /etc/dhcp3/dhcpd.conf
Nslookup:
Weet iemand hier een oplossing voor? De reverse (ip -> hostname) lookup gaat dus wel goed, maar de forward (hostname -> ip) niet.
Ik kan dus vanuit nslookup wel 192.168.1.239 resolven naar atlantis.berflo.lan, maar andersom niet!
Hij geeft echter geen fouten..
Dit is wat hij in syslog schrijft:
code:
1
2
3
4
5
| Jun 5 16:00:46 flatrix dhcpd: DHCPDISCOVER from xx:xx:xx:xx:xx:xx via eth0 Jun 5 16:00:46 flatrix dhcpd: DHCPOFFER on 192.168.1.239 to xx:xx:xx:xx:xx:xx (atlantis) via eth0 Jun 5 16:00:46 flatrix dhcpd: added reverse map from 239.1.168.192.in-addr.arpa. to atlantis.berflo.lan Jun 5 16:00:46 flatrix dhcpd: DHCPREQUEST for 192.168.1.239 (192.168.1.3) from xx:xx:xx:xx:xx:xx (atlantis) via eth0 Jun 5 16:00:46 flatrix dhcpd: DHCPACK on 192.168.1.239 to xx:xx:xx:xx:xx:xx (atlantis) via eth0 |
Relevant stukje /etc/bind/named.conf:
code:
1
2
3
4
5
6
7
8
9
10
11
| zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/192.168.1.berflo";
allow-update { localhost; };
};
zone "berflo.lan" in {
type master;
file "/etc/bind/berflo.lan";
allow-update { localhost; };
}; |
En stukje /etc/dhcp3/dhcpd.conf
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| ddns-updates on;
ddns-update-style interim;
dns-domainname "berflo.lan.";
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.140 192.168.1.240;
}
zone berflo.lan. {
primary 127.0.0.1;
}
zone 1.168.192.in-addr.arpa. {
primary 127.0.0.1;
} |
Nslookup:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| > server localhost Default server: localhost Address: 127.0.0.1#53 > 192.168.1.239 Server: localhost Address: 127.0.0.1#53 239.1.168.192.in-addr.arpa name = atlantis.berflo.lan. > atlantis.berflo.lan Server: localhost Address: 127.0.0.1#53 ** server can't find atlantis.berflo.lan: NXDOMAIN > |
Weet iemand hier een oplossing voor? De reverse (ip -> hostname) lookup gaat dus wel goed, maar de forward (hostname -> ip) niet.
Laat me nou toch eens met rust man!
Iedereen die in telekinese gelooft, steek a.u.b. mijn hand op