[Dnsmasq-discuss] i should know this...
AJ Weber
aweber at comcast.net
Sat Apr 3 14:42:37 BST 2010
Using the "server" directive works perfectly, as you said. Thank you for
the reply.
1) Why did we (you, but I remember there being some "discussion around it)
decide not to implement the CNAME such that it would allow for an "external"
reference? I remember there was a fairly good reason, but I can't remember.
2) The idea of having a default ip-address/resolve-address such as your
suggestion to use all zeros = use the default/configured DNS servers is
excellent.
Thanks again,
AJ
----- Original Message -----
From: "Simon Kelley" <simon at thekelleys.org.uk>
To: "AJ Weber" <aweber at comcast.net>
Cc: <dnsmasq-discuss at lists.thekelleys.org.uk>
Sent: Saturday, April 03, 2010 2:45 AM
Subject: Re: [Dnsmasq-discuss] i should know this...
> AJ Weber wrote:
>> Is there a way to add "exceptions" to when you have a "local-only"
>> ("local=my-domain.com") directive?
>> For example, I would like to allow global DNS to serve the name for my
>> website (even internally) which is www.my-domain.com
>> <http://www.my-domain.com>, of course, but would like to continue to only
>> resolve others from my dnsmasq.
>> Something like an exception to the "local" for a specific hostname?
>> I'm pretty sure I'm not the only one that would need this, right?
>>
>
> You can't do quite what you want, which is to forward queries for
> website.my-domain.com to the same servers as everything else (picked up
> from /etc/resolv.conf, presumably)
>
> You can forward website.my-domain.com to a specific set of nameservers,
> which might happen to be the same as the ones in /etc/resolv.conf
>
> server=/website.my-domain.com/1.2.3.4
> server=/website.my-domain.com/2.3.4.5
>
> Because the domain part is longer than that in the "local=", it will take
> priority, for that domain.
>
>
> It may be worth adding special case where 0.0.0.0 represents the set of
> servers from /etc/resolv.conf, but this is something for the future, it
> does NOT exist in current releases.
>
> Cheers,
>
> Simon.
>
>
>
More information about the Dnsmasq-discuss
mailing list