[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: is there any DHCP server using PostgreSQL as a config source?



On Fri, Jul 18, 2003 at 08:44:07PM +0200,
 Miernik <miernik@ctnet.pl> wrote 
 a message of 9 lines which said:

> DHCP servers usually store the MAC -> IP resolution in a
> /etc/dhcpd.conf file. I am looking for one that can use a PostgreSQL
> database for that puropuse.

IMHO, it is not a good idea to let DHCP, a quite essential service,
depends on a huge behemoth like PostgreSQL, which has its own agenda
:-) And it would complicate the coding of dhcpd.

A better solution, if you want to register your machines in a DBMS
(which seems quite sensible), is to write an export script that goes
from PostgreSQL->dhcpd.conf. It is ten or twenty lines of Perl or
Python...



Reply to: