From: Mrs. B. <mrs...@ni...> - 2004-12-04 01:39:17
|
On Mon, 2004-11-15 at 02:00 +0000, Jamie Thompson wrote: > Hello, I'll start by thanking you for ldapdns, it's great, but that > aside I have a query I hope you could help with. > > I'm trying to migrate as much of my network config to a dynamic ldap > directory (OpenLDAP), and I'm doing quite well overall, but my current > stumbling block is dynamically updating my DNS from my DHCP leases, as > I used to with my previous BIND9+DHCP3 solution (which worked very > well, TBH). I'm currently using Debian sarge's ldapdns package > (2.05-5) and a custom Debian package of ISC's dhcp3-server (3.0.1) > with G. Masney's LDAP patch. I was hoping that the LDAP patch would > store the leases in the directory...but alas no such luck. I'd rather > not have to go back to BIND9 just for the dynamic updates as I now > have a surprisingly good ldapdns+dnscache configuration. > > As both programs now have ldap support I have a few further avenues of > enquiry, but I thought I'd check with the list to see I haven't missed > something silly, like ldapdns supporting BIND-style dynamic updates > somehow (though if it does I couldn't find mention of it in the source > package). As ldapdns just resolves from the directory, do you think my > best bet would be to hack away at dhcp to get it somehow storing > leases in LDAP rather than worry about adding dynamic updates to > ldapdns? Consider configuring your dhcp server to run a script with the changes in it that pull a ldapmodify/ldapadd command. |