Problems with DDNS + Mac OS X as a client
Jason Lixfeld
jason-lists.dhcp at lixfeld.ca
Sat Aug 19 22:44:20 UTC 2006
I'm having a hard time figuring out why everything BUT a Mac OS X
client will work with DDNS. I have Windows XP Clients, Cisco IP
Phone, Apple AEBS and Apple AE Clients, my VTech Vonage Phone, my HP
Printer; everything gets an IP and DDNS assigned, except the Mac.
I've tried with the wireless and wired interfaces, neither work. Not
sure if it's the client, or the server but I think something is off.
Actually, looking at this again, it appears that coincidentally, it's
only with dhcpd.conf entries that have fixed-address entries.
Any ideas?
(NOTE: Domain names are sanitized)
# dhcp.log (00:0a:95:d6:ab:8e = housekat host (wired), 00:11:24:1e:ef:
4d = housekat host (wireless) (not shown in this debug, but same
results as wired)):
Aug 19 18:30:00 bubbles dhcpd: DHCPREQUEST for 192.168.100.190 from
00:0a:95:d6:ab:8e via xl0
Aug 19 18:30:00 bubbles dhcpd: DHCPACK on 192.168.100.190 to 00:0a:
95:d6:ab:8e via xl0
Aug 19 18:30:00 bubbles dhcpd: DHCPREQUEST for 192.168.100.190 from
00:0a:95:d6:ab:8e via 192.168.100.1
Aug 19 18:30:00 bubbles dhcpd: DHCPACK on 192.168.100.190 to 00:0a:
95:d6:ab:8e via 192.168.100.1
# dhcpd.conf
authoritative;
dhcpd_ifaces=xl0;
option domain-name-servers 192.168.100.10,172.16.17.2;
option subnet-mask 255.255.255.0;
option routers 192.168.100.1;
default-lease-time 3600;
max-lease-time 6400;
ddns-updates on;
ddns-update-style interim;
ddns-rev-domainname "in-addr.arpa";
ddns-ttl 10;
key DHCP_UPDATER {
algorithm hmac-md5;
secret "*";
};
zone mobile.example1.ca. {
primary 127.0.0.1;
key DHCP_UPDATER;
}
zone 965313.example2.ca. {
primary 127.0.0.1;
key DHCP_UPDATER;
}
zone sip.example1.ca. {
primary 127.0.0.1;
key DHCP_UPDATER;
}
zone office.example1.ca. {
primary 127.0.0.1;
key DHCP_UPDATER;
}
zone 100.168.192.in-addr.arpa {
primary 127.0.0.1;
key DHCP_UPDATER;
}
subnet 192.168.100.0 netmask 255.255.255.0 {
pool {
range 192.168.100.129 192.168.100.158;
allow unknown-clients;
ddns-domainname "965313.example2.ca";
}
pool {
range 192.168.100.193 192.168.100.254;
deny unknown-clients;
ignore client-updates;
option domain-name "example1.ca";
ddns-domainname "office.example1.ca";
}
}
group {
ddns-domainname "mobile.example1.ca";
option domain-name "example1.ca";
}
group {
ddns-domainname "sip.example1.ca";
next-server 192.168.100.10;
option tftp-server-name "192.168.100.10";
host jalc7960 {
hardware ethernet
00:03:e3:63:17:61;
ddns-hostname jalc7960;
}
}
group {
ddns-domainname "office.example1.ca";
option domain-name "example1.ca";
host housekat-dot11 {
hardware ethernet
00:11:24:1e:ef:4d;
fixed-address 192.168.100.189;
ddns-hostname housekat-dot11;
}
host housekat {
hardware ethernet
00:0a:95:d6:ab:8e;
fixed-address 192.168.100.190;
ddns-hostname housekat;
}
host accounting {
hardware ethernet
00:12:3f:ca:e5:34;
ddns-hostname accounting;
}
host psc2510 {
hardware ethernet
00:01:e6:95:9b:65;
ddns-hostname psc2510;
}
}
group {
ddns-domainname "965313.example2.ca";
host vtech {
hardware ethernet
00:11:a0:02:67:36;
ddns-hostname vtech;
}
host apexpress {
hardware ethernet
00:11:24:0b:ab:1c;
ddns-hostname apexpress;
}
host apextreme {
hardware ethernet
00:03:93:e5:5d:dd;
ddns-hostname apextreme;
}
}
# named.conf
zone "mobile.example.ca." {
type master;
file "dynamic/mobile.example.ca.int";
allow-transfer { 172.16.0.0/12; };
allow-update { key DHCP_UPDATER; };
};
zone "sip.example.ca." {
type master;
file "dynamic/sip.example.ca.int";
allow-transfer { 172.16.0.0/12; };
allow-update { key DHCP_UPDATER; };
};
zone "office.example.ca." {
type master;
file "dynamic/office.example.ca.int";
allow-transfer { 172.16.0.0/12; };
allow-update { key DHCP_UPDATER; };
};
zone "965313.example2.ca." {
type master;
file "dynamic/965313.example2.ca.int";
allow-transfer { 172.16.0.0/12; };
allow-update { key DHCP_UPDATER; };
};
zone "100.168.192.in-addr.arpa." {
type master;
file "dynamic/192.168.100";
allow-transfer { 172.16.0.0/12; };
allow-update { key DHCP_UPDATER; };
};
# /etc/namedb/dynamic
total 20
drwxr-xr-x 2 bind wheel 512 Aug 19 15:29 .
drwxr-xr-x 6 root wheel 1024 Aug 15 14:06 ..
-rw-r--r-- 1 bind wheel 748 Aug 19 15:30 192.168.100
-rw-r--r-- 1 bind wheel 672 Aug 19 13:09 965313.example2.ca.int
-rw-r--r-- 1 bind wheel 3263 Aug 19 12:56 965313.example2.ca.int.jnl
-rw-r--r-- 1 bind wheel 334 Aug 19 03:34 mobile.example.ca.int
-rw-r--r-- 1 bind wheel 491 Aug 19 15:30 office.example.ca.int
-rw-r--r-- 1 bind wheel 453 Aug 19 03:26 sip.example.ca.int
-rw-r--r-- 1 bind wheel 847 Aug 19 03:13 sip.example.ca.int.jnl
More information about the dhcp-users
mailing list