<!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. 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> </DIV>
<DIV><FONT face=Arial size=2>NOW, for whatever reason, my PC can't resolve
anything when I add that addn-hosts file. It doesn't even know the name of
"broh" when it goes to lookup. I've verified that nothing but "external"
hosts/domains are in that file, etc. Is there a limit to the size of a
hosts file that dnsmasq can handle??? 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> </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>> OK, I'm
looking thru my dnsmasq.conf, but can't justify why this is<BR>>
happening...nor how it's eventually coming-up with a valid IP<BR>>
address.<BR><BR>Valid?<BR><BR>> However, it didn't block an advert site on
my first test, and so I<BR>> 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>> Server: broh.nnnnnn.com<BR>> Address:
192.168.1.128<BR>><BR>> Non-authoritative answer:<BR>>
Name: view.atdmt.com.nnnnnn.com<BR>> Address:
208.67.217.132<BR><BR>132.217.67.208.in-addr.arpa. 86400 IN
PTR hit-nxdomain.opendns.com.<BR><BR>> The
"nnnnnn.com" is set in my "domain=" option in my config. <BR>> However, as
I read it, it should only be used to decorate simple<BR>> names from the
hosts-file. 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>> Furthermore, how
the heck did that name then resolve from the<BR>> upstream DNS
server???<BR><BR>Um, maybe a broken upstream nameserver? [1]<BR><BR>>
view.atdmt.com IS in the black-hole-hosts file that I added
using<BR><BR>view.atdmt.com.
240 IN
A 206.16.21.31<BR><BR>> addn-hosts, but
again, it's a FQDN, so it shouldn't be getting the<BR>> domain
appended.<BR>><BR>> 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> dnsmasq, but I always run my own named backend
for recursion. It<BR> binds on port 35, which is used as
such in dnsmasq.conf :<BR>
server=127.0.0.1#35<BR>-- <BR> Offlist mail to this address
is discarded unless<BR> "/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>