[Dnsmasq-discuss] Same hostname in different domains with dhcp static assignments?

Steve Hindle mech422 at gmail.com
Wed Jan 27 04:14:13 GMT 2016


Turns out I needed dhcp-fqdn set... just setting the domain name isn't
enough

Sorry to have bothered ya

On Tue, Jan 26, 2016 at 7:05 PM, Steve Hindle <mech422 at gmail.com> wrote:

> Hi!
> I seem to have an odd issue with static dhcp reservations on multiple
> networks with the same hostname but different domains (eg '
> foo.ipmi.example.com' and 'foo.hvm.example.com'). I am setting static
> assignments for both interfaces via:
> dhcp-host=<mac>,<name>,<ip>,<duration>
>
> Basically seems to break DNS lookup for me - using dig on the short name
> or FQDN both return 'no answer'.  Doing a dig -x can't even find the
> reverse record (I'd think that would get one or the other?). I've tried
> using FQDN and shortname in the dhcp-host lines...
>
> When that didn't work - just for testing I tried removing the static
> assignment from the 'hvm.example.com' domain, and just leaving the static
> in 'ipmi.example.com'.
> I see the client getting an IP from dnsmasq (I noticed it uses 'foo' as
> the hostname when talking to dnsmasq..) But I have the same behavior on the
> DNS side...
>
> Anyway - I was just wondering if this should work?  If so, I'll look for
> stupid issues in my configs again....
>
>
> Thanks!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20160126/a6776373/attachment.html>


More information about the Dnsmasq-discuss mailing list