Simon Kelley wrote: > > gypsy wrote: > > I don't know which to blame, my SMTP server or dnsmasq, but the > > following should NEVER happen: > > > >>May 5 04:50:34 dnsmasq[8766]: query[A] 1.0.0.127.dnsbl.ahbl.org from > >>127.0.0.1 > >>May 5 04:50:34 dnsmasq[8766]: cached 1.0.0.127.dnsbl.ahbl.org is > >><NXDOMAIN>-IPv4 > >>May 5 04:50:34 dnsmasq[8766]: query[A] 1.0.0.127.combined.njabl.org from > >>127.0.0.1 > >>May 5 04:50:34 dnsmasq[8766]: forwarded 1.0.0.127.combined.njabl.org to > >>68.65.16.162 > >>May 5 04:50:36 dnsmasq[8766]: reply 1.0.0.127.combined.njabl.org is > >><NXDOMAIN>-IPv4 > > > > > > Can't dnsmasq know that a reverse dns lookup of 127.0.0.0/8 should never > > be forwarded?! Isn't localhost localhost, no matter how one asks about > > it? > > Those are _not_ reverse lookups. They are forward lookups with an IP > address coded into the domain name. They are checking for known spam > domains and almost certainly come from spamassasin or similar spam blocker.
Let me begin by saying that I'm not trying to be argumentative or beligerent even though when I read what I have written I think that is the way I "sound". If an apology is necessary, this is it! The SMTP server does this. I know what it is doing and why. But I don't know why dnsmasq thinks it needs to ask some outside source that has no clue about localhost to resolve localhost. > > I have no idea what the correct behavior should be, but I am dead > > certain that forwarding is not correct behavior. > > > > The Bad Thing That Happens is that the SMTP server says: > > > >>May 5 04:5 /smtp[20083]: 702A76D002C: to=<gy...@localhost.me.tld>, > >>relay=none, delay=29, status=deferred (Name service error for localhost: > >>Host not found, try again) > > > > That's something different (can your machine resolve localhost.me.tld, > either as an A record, or preferably and MX record) No. From the top of /etc/hosts (the " quotes are added by me): " # By the way, Arnt Gulbrandsen <agulbra MUNGE nvg MUNGE unit MUNGE no> says that 127.0.0.1 # should NEVER be named with the name of the machine. It causes problems # for some (stupid) programs, irc and reputedly talk. :^) 127.0.0.1 localhost " localhost resolves. me.tld resolves. Unless you can explain why localhost.me.tld SHOULD resolve, I stand by "forwarding is not correct behavior" and I believe my configuration to be correct. > > If this can be fixed, please do. > > I think this is probably your configuration............ I'm all ears. > Cheers, Likewise, > Simon. -- gypsy