[Dnsmasq-discuss] query rewriting

Tom Metro tmetro+dnsmasq at gmail.com
Thu Dec 3 23:41:19 GMT 2009

Is there a dnsmasq directive similar to 'alias' that instead of 
rewriting IP addresses in the query reply, rewrites the domain in the 
query? So a query for foo.domain always results in a query for bar.domain?

This is related to the idea of a CNAME, but the dnsmasq 'cname' 
directive is restricted to bar.domain being local. I'm looking for 
something that will work for domains that aren't locally controlled. The 
'address' directive is also related, but the target needs to be a 
domain, or at least a cached lookup, and not a static IP.


Tom Metro
Venture Logic, Newton, MA, USA
"Enterprise solutions through open source."
Professional Profile: http://tmetro.venturelogic.com/

More information about the Dnsmasq-discuss mailing list