On Mon, Aug 04, 2008 at 04:16:41PM +0100, Simon Kelley wrote:
> Jason Dixon wrote:
>>
>> I tried various changes to our configuration but couldn't find a working
>> set.  I'm including a subset of our configuration here so you can see
>> what might be causing the issue.  The only bits I've left out include
>> redundant information (e.g. dhcp-host).  Just to reiterate, this works
>> under 2.34 but is broken under 2.45.
>>
>>
>> # cat /etc/dnsmasq.conf | grep -v '^$' | grep -v '^\#'
>> filterwin2k
>> local=/lab.foobar.com/wifi.foobar.com/
>> interface=eth0
>> expand-hosts
>> dhcp-option=3,172.16.0.1
>> dhcp-option=42,0.0.0.0
>> conf-file=/etc/dnsmasq.lab.conf
>> conf-file=/etc/dnsmasq.wifi.conf
>>
>> # cat /etc/dnsmasq.lab.conf | grep -v '^$' | grep -v '^\#'
>> dhcp-range=lab,172.16.0.10,172.16.0.81,12h
>> dhcp-option=lab,15,lab.foobar.com
>> dhcp-host=00:0e:0c:bc:17:70,lab01.lab.foobar.com,172.16.0.10
>> dhcp-host=00:0c:29:ff:96:a7,solaris.lab.foobar.com,172.16.0.6
>> dhcp-host=00:0c:29:ff:96:xx,windows.lab.foobar.com,172.16.0.7
>> dhcp-host=00:0c:29:db:8a:b3,centos.lab.foobar.com,172.16.0.5
>> dhcp-host=00:0c:29:3c:58:01,centos-4.4-01.lab.foobar.com,172.16.0.82
>>
>> # cat /etc/dnsmasq.wifi.conf | grep -v '^$' | grep -v '^\#'
>> dhcp-range=wifi,172.16.0.200,172.16.0.250,3d
>> dhcp-option=wifi,15,wifi.foobar.com
>
> Are the names in your dhcp-host entries _all_ "<name>.lab.foobar.com"?
> If so, the simply adding
>
> domain=lab.foobar.com
>
> will fix things. I imagine that under 2.34 you will have seen lots of  
> complaints logged about this, 2.45 has turned soft errors into hard ones.
>
> If there are names in more than one domain, the problem in more  
> complicated to fix: you may need to try the new "multi-domain" code.

Yes, adding the "domain=lab.foobar.com" and changing the last section of
dhcp-host's to remove the unwanted extra subdomain ".4-0<index>." fixes
the error.  Thanks for your help!

-- 
Jason Dixon
OmniTI Computer Consulting, Inc.
jdi...@omniti.com
443.325.1357 x.241 

Reply via email to