[Dnsmasq-discuss] feature request: multiple domain support

Ben abnormaliti at clivepeeters.com.au
Thu Jul 17 09:01:55 BST 2008


I would like request that multiple "domain" options be supported.

I have read through the archives and know and understand the backward 
compatibility issues it would raise but it has been requested several 
times before and would obviously be useful for many users.

I would see the support being along the lines of supporting multiple 
lease files to avoid modifying the lease file format.

Example:

    dhcp-range=lan1,192.168.1.100,192.168.1.150,255.255.255.0,24h
    dhcp-range=lan2,192.168.2.100,192.168.2.150,255.255.255.0,24h

    dhcp-leasefile=net:lan1,/var/lib/dnsmasq/dnsmasq-lan1.leases
    dhcp-leasefile=net:lan2,/var/lib/dnsmasq/dnsmasq-lan2.leases

    domain=net:lan1,demo1.example.com
    domain=net:lan2,demo2.example.com


This would allow the lease file to keep its syntax and only the daemon 
would need to know that names or ips resolved from the lease files are 
associated with particular domain names depending on the lease file they 
came from.

What do you think?

Ben



More information about the Dnsmasq-discuss mailing list