<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Aha! That's a great idea and seems to work!<BR><br><BR>Thanks!<br><BR><br><br><div>&gt; Date: Tue, 5 Jul 2011 18:16:22 +0100<br>&gt; From: samuel.lethiec@intelunix.fr<br>&gt; To: uberclocker@hotmail.com<br>&gt; CC: dnsmasq-discuss@lists.thekelleys.org.uk<br>&gt; Subject: Re: [Dnsmasq-discuss] Using Alias or Address to return NXDOMAIN<br>&gt; <br>&gt; On Tue, Jul 05, 2011 at 05:08:24PM +0000, Rob Emery wrote:<br>&gt; &gt; <br>&gt; &gt; Hi,<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; 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? <br>&gt; &gt; Something similiar to:<br>&gt; &gt;      address=/my.subdomain.domain.com/NXDOMAIN<br>&gt; <br>&gt; <br>&gt; You can probably use:<br>&gt; | local=/my.subdomain.domain.com/<br>&gt; <br>&gt; instead?<br>&gt; <br>&gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; One workaround I thought might work was to use:<br>&gt; &gt;      address=/my.subdomain.domain.com/172.16.1.1<br>&gt; &gt;      bogus-nxdomain=172.16.1.1<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; but it appears that the bogus-nxdomain directive is applied before the address :(<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; I've scoured the manpage but the only thing I could find was bogus-nxdomain! <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; Thanks in advance<br>&gt; &gt; -Rob<br>&gt; &gt;                                                <br>&gt; <br>&gt; &gt; _______________________________________________<br>&gt; &gt; Dnsmasq-discuss mailing list<br>&gt; &gt; Dnsmasq-discuss@lists.thekelleys.org.uk<br>&gt; &gt; http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss<br>&gt; <br></div>                                               </div></body>
</html>