[Dnsmasq-discuss] i should know this...
AJ Weber
aweber at comcast.net
Sat Apr 3 00:23:41 BST 2010
I may have been the one to request that, IIRC. Obviously, it was for
a different situation.
You're right, it's close, but if it's limited to locally resolved
names (which did suit my previous situation), it won't work in this
case.
Thanks for trying. Appreciate your time.
-AJ
On Apr 2, 2010, at 5:39 PM, "richardvoigt at gmail.com" <richardvoigt at gmail.com
> wrote:
> After locating the documentation on dnsmasq cname support, it seems
> I'm wrong about being a workaround for your problem.
>
>
>
> --cname=<cname>,<target>
> Return a CNAME record which indicates that <cname> is really
> <target>. There are significant limitations on the target; it must be
> a DNS name which is known to dnsmasq from /etc/hosts (or additional
> hosts files) or from DHCP. If the target does not satisfy this
> criteria, the whole cname is ignored. The cname must be unique, but it
> is permissable to have more than one cname pointing to the same
> target.
>
> On Fri, Apr 2, 2010 at 4:07 PM, AJ Weber <aweber at comcast.net> wrote:
>> I actually have another name outside I could use CNAME for. Is
>> that an
>> option I don't see in my dnsmasq.conf file? That would work fine,
>> I think.
>>
>> Thanks,
>> AJ
>>
>> ----- Original Message ----- From: <richardvoigt at gmail.com>
>> To: "AJ Weber" <aweber at comcast.net>
>> Cc: <dnsmasq-discuss at lists.thekelleys.org.uk>
>> Sent: Friday, April 02, 2010 4:17 PM
>> Subject: Re: [Dnsmasq-discuss] i should know this...
>>
>>
>>> On Fri, Apr 2, 2010 at 2:47 PM, AJ Weber <aweber at comcast.net> 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, 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?
>>>
>>> I think you can CNAME the hostname within the local domain to a
>>> hostname outside. Then the IP address would be requested from the
>>> upstream server. Of course the upstream server would then need
>>> two A
>>> records for the host. Is this a reasonable workaround for you?
>>>
>>>
>>>>
>>>> Thanks,
>>>> AJ
>>>>
>>>> _______________________________________________
>>>> Dnsmasq-discuss mailing list
>>>> Dnsmasq-discuss at lists.thekelleys.org.uk
>>>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>>>
>>>>
>>>
>>
>>
More information about the Dnsmasq-discuss
mailing list