<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Yeah, it seems that opendns.com is messing with the 
resolution of that FQDN in the lookup, but that doesn't explain how it got to 
the upstream DNS server in the first-place.&nbsp; With it explicitly listed in 
my addn-hosts file, it should never have been requested from them.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>NOW, for whatever reason, my PC can't resolve 
anything when I add that addn-hosts file.&nbsp; It doesn't even know the name of 
"broh" when it goes to lookup.&nbsp; I've verified that nothing but "external" 
hosts/domains are in that file, etc.&nbsp; Is there a limit to the size of a 
hosts file that dnsmasq can handle???&nbsp; Are there any debugging params I 
should include in dig or nslookup to see where we're getting 
off-track?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks again,</FONT></DIV>
<DIV><FONT face=Arial size=2>AJ<BR></FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=rob0@gmx.co.uk href="mailto:rob0@gmx.co.uk">/dev/rob0</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=dnsmasq-discuss@lists.thekelleys.org.uk 
  href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk">dnsmasq-discuss@lists.thekelleys.org.uk</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, May 01, 2008 12:10 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Dnsmasq-discuss] uh, domain 
  concats unwanted...</DIV>
  <DIV><BR></DIV>On Thu May 1 2008 10:34:05 AJ Weber wrote:<BR>&gt; OK, I'm 
  looking thru my dnsmasq.conf, but can't justify why this is<BR>&gt; 
  happening...nor how it's eventually coming-up with a valid IP<BR>&gt; 
  address.<BR><BR>Valid?<BR><BR>&gt; However, it didn't block an advert site on 
  my first test, and so I<BR>&gt; did a nslookup from my laptop...this was the 
  output...<BR><BR>Just Say No to nslookup. dig(1) is the preferred 
  tool.<BR><BR>&gt; Server:&nbsp;&nbsp; broh.nnnnnn.com<BR>&gt; Address:&nbsp; 
  192.168.1.128<BR>&gt;<BR>&gt; Non-authoritative answer:<BR>&gt; 
  Name:&nbsp;&nbsp;&nbsp; view.atdmt.com.nnnnnn.com<BR>&gt; Address:&nbsp; 
  208.67.217.132<BR><BR>132.217.67.208.in-addr.arpa. 86400 IN&nbsp;&nbsp; 
  PTR&nbsp;&nbsp;&nbsp;&nbsp; hit-nxdomain.opendns.com.<BR><BR>&gt; The 
  "nnnnnn.com" is set in my "domain=" option in my config. <BR>&gt; However, as 
  I read it, it should only be used to decorate simple<BR>&gt; names from the 
  hosts-file.&nbsp; Why is it being appended to FQDNs? <BR><BR>Maybe broken or 
  misconfigured system resolver? See, dig(1) will only<BR>use DNS, and only with 
  the name it is given (exception, see +search.)<BR><BR>&gt; Furthermore, how 
  the heck did that name then resolve from the<BR>&gt; upstream DNS 
  server???<BR><BR>Um, maybe a broken upstream nameserver? [1]<BR><BR>&gt; 
  view.atdmt.com IS in the black-hole-hosts file that I added 
  using<BR><BR>view.atdmt.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  240&nbsp;&nbsp;&nbsp;&nbsp; IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 206.16.21.31<BR><BR>&gt; addn-hosts, but 
  again, it's a FQDN, so it shouldn't be getting the<BR>&gt; domain 
  appended.<BR>&gt;<BR>&gt; Can anyone help me explain where my config might be 
  wrong?<BR><BR>Munging makes DNS problems especially difficult to ... 
  resolve.<BR><BR><BR>[1] I know this goes against the spirit of simplicity 
  which is<BR>&nbsp;&nbsp;&nbsp; dnsmasq, but I always run my own named backend 
  for recursion. It<BR>&nbsp;&nbsp;&nbsp; binds on port 35, which is used as 
  such in dnsmasq.conf :<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  server=127.0.0.1#35<BR>-- <BR>&nbsp;&nbsp;&nbsp; Offlist mail to this address 
  is discarded unless<BR>&nbsp;&nbsp;&nbsp; "/dev/rob0" or "not-spam" is in 
  Subject: 
  header<BR><BR>_______________________________________________<BR>Dnsmasq-discuss 
  mailing list<BR><A 
  href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</A><BR><A 
  href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</A><BR></BLOCKQUOTE></BODY></HTML>