[Dnsmasq-discuss] domain, dhcp-fqdn and the dhcp-option domain-name

SamLT samuel.lethiec at intelunix.fr
Mon Nov 8 10:05:30 GMT 2010


On Tue, Oct 26, 2010 at 03:07:21PM +0100, SamLT wrote:
> 
> 
> Hello,
> 
> As I was playing with the dhcp-fqdn option I noticed that only the option
> 'domain' is used to qualify the hostname, and I have to admin the manual
> doesn't say otherwise;)
> 
> I'd like to know if there is a possibility of using the the dhcp option
> 'domain-name' sent instead of the default 'domain' value?
> 
> I'm asking this cause I make use of tags to send a different domain to
> different subnets:
> | domain=my.lan
> | dhcp-option=tag:net1,option:domain-name,net1.my.lan
> | dhcp-option=tag:net2,option:domain-name,net2.my.lan
> | dhcp-option=tag:net3,option:domain-name,net3.my.lan
> 


Looks like I overlooked things a bit:) It's already possible if using the the
following syntax for the 'domain' directive:

domain=net1.my.lan,192.168.1.0/24
domain=net2.my.lan,192.168.2.0/24
domain=net3.my.lan,192.168.3.0/24


:)



> 
> Thank you for your time.
> 
> sam
> 



More information about the Dnsmasq-discuss mailing list