[Dnsmasq-discuss] Domain address binding excluding subdomains.
0xception at gmail.com
Mon Dec 5 23:39:01 GMT 2011
I tried the /sub.example.com/# like you suggested again (actually read
about it before and already tested, but thought perhaps I missed
when i added the lines
to my dnsmasq.conf i get an error on start. It seems that this is a
syntax error. However looking over the man i see that
address=/#/220.127.116.11 should work but it does not say that
address=/domain.com/# will work. It does however show that
server=/domain.com/# is an option. So i changed all my addresses to
servers and tried this.
This does in work. But i have to enter in each subdomain i want passed
through as server=/sub.example.com/# does not match s1-sub.example.com
or anything else. Not a huge deal i can add them in. Thanks for the
On Mon, Dec 5, 2011 at 2:15 PM, Jan Seiffert
<kaffeemonster at googlemail.com> wrote:
> 2011/12/5 0xception <0xception at gmail.com>:
>> I have a little project that I'm working on that requires domain
>> binding to a proxy. For this I'm using dnsmasq -A option to set the
>> address IP for the domain. I've run into an issue however, I want to
>> bind a domain like example.com but i would like all subdomains like
>> sub.example.com to not be bound and continue on through to the
>> upstream DNS and resolve correctly.
>> Is this possible and if so how could I go about setting this up?
> Wild guess:
> There is the "forward normaly"-special option. Combine it with a more
> specific like so:
>> Thanks for any help.
> Remember to eat a healthy breakfast, for tonight we dine in hell!
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
More information about the Dnsmasq-discuss