[Dnsmasq-discuss] Domain address binding excluding subdomains.

Jan Seiffert kaffeemonster at googlemail.com
Mon Dec 5 22:15:18 GMT 2011


2011/12/5 0xception <0xception at gmail.com>:
> Hello,
>
> 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:
address=/example.com/192.168.0.x
address=/sub.example.com/#

> Thanks for any help.
>

HTH
Greetings
Jan

-- 
Remember to eat a healthy breakfast, for tonight we dine in hell!



More information about the Dnsmasq-discuss mailing list