<div class="gmail_quote">
<div class="gmail_quote">
<div class="im">On Wed, Sep 11, 2013 at 11:40 AM, Simon Kelley <span dir="ltr"><<a href="mailto:simon@thekelleys.org.uk" target="_blank">simon@thekelleys.org.uk</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>On 11/09/13 10:33, Maciej Soltysiak wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hi everyone,<br><br>To return a specific address for an IN A query we can do this:<br>address=/<a href="http://double-click.net/127.0.0.1" target="_blank">double-click.net/127.<u></u>0.0.1</a><br>
<br>Is it currently possible to return NXDOMAIN with similar syntax, e.g.:<br>address=/<a href="http://double-click.net/nxdomain" target="_blank">double-click.net/<u></u>nxdomain</a><br></blockquote><br></div>Yes, you can tell dnsmasq that there's no upstream server for that domain: eg.<br>
<br>server=/<a href="http://double-click.net/" target="_blank">double-click.net/</a><br><br>that way, if the query can't be answered from /etc/hosts or DHCP leases etc, it will get an NXDOMAIN reply.</blockquote></div>

<div>Great! That's better in some cases than returning 127.0.0.1 or other rabbit hole.</div>
<div> </div>
<div>I'm away from my router at the moment. I'm just wondering if I should expect the openwrt luci compatible config for this to be:</div>
<div> </div>
<div>config 'domain'<br>     option 'name' 'doubleclick'<br>     option 'ip'   ''</div>
<div> </div>
<div>and work :)</div>
<div> </div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Cheers,<br><br>Simon.</blockquote>
<div>Best regards,</div>
<div>Maciej</div>
<div> </div></div></div><br>