<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>> Date: Tue, 5 Jul 2011 18:16:22 +0100<br>> From: samuel.lethiec@intelunix.fr<br>> To: uberclocker@hotmail.com<br>> CC: dnsmasq-discuss@lists.thekelleys.org.uk<br>> Subject: Re: [Dnsmasq-discuss] Using Alias or Address to return NXDOMAIN<br>> <br>> On Tue, Jul 05, 2011 at 05:08:24PM +0000, Rob Emery wrote:<br>> > <br>> > Hi,<br>> > <br>> > <br>> > <br>> > 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>> > Something similiar to:<br>> > address=/my.subdomain.domain.com/NXDOMAIN<br>> <br>> <br>> You can probably use:<br>> | local=/my.subdomain.domain.com/<br>> <br>> instead?<br>> <br>> <br>> > <br>> > <br>> > One workaround I thought might work was to use:<br>> > address=/my.subdomain.domain.com/172.16.1.1<br>> > bogus-nxdomain=172.16.1.1<br>> > <br>> > <br>> > but it appears that the bogus-nxdomain directive is applied before the address :(<br>> > <br>> > <br>> > I've scoured the manpage but the only thing I could find was bogus-nxdomain! <br>> > <br>> > <br>> > Thanks in advance<br>> > -Rob<br>> >                                            <br>> <br>> > _______________________________________________<br>> > Dnsmasq-discuss mailing list<br>> > Dnsmasq-discuss@lists.thekelleys.org.uk<br>> > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss<br>> <br></div>                                            </div></body>
</html>