[Dnsmasq-discuss] can't get multiple domains to work

Spike spike at drba.org
Tue Feb 21 03:35:27 GMT 2017


I didn't because it seemed wrong, generally speaking the last entry for a
given keyword should override former if dups are allowed at all. In any
case I just tried and that's what happened, with

domain=good
domain=better

host.better started to resolve and host.good no longer resolved.

that said it's true that the most recent hit on the ML for "multiple
domain" did mention a similar setup with two domain lines altho it had two
diff ranges.

thanks,

Spike

On Mon, Feb 20, 2017 at 6:55 PM richardvoigt at gmail.com <
richardvoigt at gmail.com> wrote:

> Have you tried using more than one domain= line?
>
> On Mon, Feb 20, 2017 at 6:57 PM, Spike <spike at drba.org> wrote:
>
> Dear all,
>
> first time poster here so first things first, thanks to all of you that
> have worked on dnsmasq, all of us here have greatly benefited for years
> from this great piece of software.
>
> Second, my google-fu and manpage reading are failing me and I can't seem
> to find a way to have dnsmasq resolve queries for multiple domains. I've
> found some posts from 2008 about introducing the feature and a recent one
> about multiple domains, but for different ranges.
>
> What I'm dealing with is a change of domain, so right now dnsmasq.conf has
> domain=good and eventually it will be domain=better , but during the
> transition phase it would be useful if it could be domain=good,better so
> that queries for host.good and host.better resolve to the same dhcp-host
> definition.
>
> is that possible? what's the actual syntax? The manual mentions "domainS",
> plural, but not if there is a particular syntax to specify them and comma
> does not work (for example for local it specifically mentions
> /domain/domain/).
>
> I guess the alternative if the above isn't possible would be to allow any
> kind of domain to basically be ignored so that entries are returned as long
> as the host path matches (this is just during the transition phase so it
> would be ok)
>
> thanks,
>
> Spike
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20170221/2951f9d9/attachment.html>


More information about the Dnsmasq-discuss mailing list