autodns-dhcp funktioniert nicht
Hi,
irgendwie will das mit autodns-dhcp nicht, auch bei Aufruf von
ddns.cron.pl per Hand wird der Bind nicht upgedatet - ein danach
erfolgtes dig host1.meinedomain liefert nicht die zugewiesene Addresse.
Also sowohl der Bind als auch der DHCPd funktionieren (sprich der Client
kriegt ne IP+Gateway zugewiesen), nur das abaendern der IP des clients
klappt irgendwie nicht...
Jemand nen Tipp was da schief laeuft?
Andreas
Hier mein Setup:
named.conf.local:
,----[ named.conf.local ]-
| zone "apaku.dnsalias.org" {
| type master;
| notify no;
| file "/etc/bind/db.apaku.dnsalias.org";
| allow-query { any; };
| allow-update { 127.0.0.1; 192.168.1.1; 192.168.2.1 };
| };
|
| zone "168.192.in-addr.arpa" {
| type master;
| notify no;
| file "/etc/bind/db.192.168";
| allow-query { any; };
| allow-update { 127.0.0.1; 192.168.1.1; 192.168.2.1 };
| };
`----
,----[ named.conf.options ]-
| options {
| directory "/var/cache/bind";
| allow-query {
| 192.168.1.0/24;
| 127.0.0.1;
| 192.168.2.0/24;
| };
| allow-recursion {
| 192.168.1.0/24;
| 192.168.2.0/24;
| 127.0.0.1;
| };
| listen-on { 127.0.0.1; 192.168.1.1; 192.168.2.1; };
| dialup yes;
| };
`----
,----[ dhcpd.conf ]-
| option domain-name "apaku.dnsalias.org";
| option domain-name-servers 192.168.2.1, 192.168.1.1;
| option netbios-name-servers 192.168.1.1;
|
| option subnet-mask 255.255.255.0;
| default-lease-time 600;
| max-lease-time 7200;
|
| subnet 192.168.1.0 netmask 255.255.255.0 {
|
| option routers 192.168.1.1;
| host mathias {
| hardware ethernet 10:02:3F:67:BD:6C;
| }
| range 192.168.1.21;
| range 192.168.1.22;
| range 192.168.1.23;
| range 192.168.1.24;
| range 192.168.1.25;
| }
|
| subnet 192.168.2.0 netmask 255.255.255.0 {
| option routers 192.168.2.1;
| host morpheus {
| hardware ethernet 00:02:3F:67:BD:6C;
| }
| range 192.168.2.21;
| range 192.168.2.22;
| range 192.168.2.23;
| range 192.168.2.24;
| range 192.168.2.25;
| }
`----
--
Don't tell any big lies today. Small ones can be just as effective.
Reply to: