[Dnsmasq-discuss] Using Alias or Address to return NXDOMAIN

Rob Emery uberclocker at hotmail.com
Tue Jul 5 18:35:42 BST 2011


Aha! That's a great idea and seems to work!


Thanks!



> Date: Tue, 5 Jul 2011 18:16:22 +0100
> From: samuel.lethiec at intelunix.fr
> To: uberclocker at hotmail.com
> CC: dnsmasq-discuss at lists.thekelleys.org.uk
> Subject: Re: [Dnsmasq-discuss] Using Alias or Address to return NXDOMAIN
> 
> On Tue, Jul 05, 2011 at 05:08:24PM +0000, Rob Emery wrote:
> > 
> > Hi,
> > 
> > 
> > 
> > Does anyone know if it is possible with dnsmasq (On Debian Squeeze) to override a DNS query to return NXDOMAIN rather than a specified IP address? 
> > Something similiar to:
> >      address=/my.subdomain.domain.com/NXDOMAIN
> 
> 
> You can probably use:
> | local=/my.subdomain.domain.com/
> 
> instead?
> 
> 
> > 
> > 
> > One workaround I thought might work was to use:
> >      address=/my.subdomain.domain.com/172.16.1.1
> >      bogus-nxdomain=172.16.1.1
> > 
> > 
> > but it appears that the bogus-nxdomain directive is applied before the address :(
> > 
> > 
> > I've scoured the manpage but the only thing I could find was bogus-nxdomain! 
> > 
> > 
> > Thanks in advance
> > -Rob
> >  		 	   		  
> 
> > _______________________________________________
> > Dnsmasq-discuss mailing list
> > Dnsmasq-discuss at lists.thekelleys.org.uk
> > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20110705/09ec9d09/attachment.htm 


More information about the Dnsmasq-discuss mailing list