[Dnsmasq-discuss] Using Alias or Address to return NXDOMAIN
SamLT
samuel.lethiec at intelunix.fr
Tue Jul 5 18:16:22 BST 2011
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
More information about the Dnsmasq-discuss
mailing list