Date: Fri, 19 May 2023 01:32:01 -0400 From: "Dan Mahoney (Ports)" <freebsd@gushi.org> To: vagabond <vagabond@blackfoot.net> Cc: Dewayne <dewayne@heuristicsystems.com.au>, questions@freebsd.org Subject: Re: sendmail error, "MX list for mydomain.com points back to server.mydomain.com" Message-ID: <6068541D-A81B-45F0-B961-FD5CD6969FA0@gushi.org> In-Reply-To: <3da26eb675ecd5d10947fb53fcf3524a@blackfoot.net> References: <303e35e4d89e68dcd9863239dcda568e@blackfoot.net> <fc362386-aabd-618f-4dcd-9be14dbe89a5@heuristicsystems.com.au> <30b97aa95162c163c1781ba1a0fa8e25@blackfoot.net> <A118A90A-14E6-409B-AC25-FE2704A19741@gushi.org> <b427a49877034f7407545744b4446744@blackfoot.net> <15AF7ED7-BBD9-428D-939F-4AA5B349C578@gushi.org> <66db9ba3bd66fcc56affdbf7a2621021@blackfoot.net> <2f8bca59462afe206043bea73241bbf2@blackfoot.net> <D387452C-FEB0-4C39-9B24-983973E1DF70@gushi.org> <3da26eb675ecd5d10947fb53fcf3524a@blackfoot.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> On May 19, 2023, at 12:43 AM, vagabond <vagabond@blackfoot.net> wrote: >=20 > On 2023-05-18 19:44, Dan Mahoney (Ports) wrote: >> Do you see it? It=E2=80=99s subtle. >> Your system is asking your own 127.0.0.1 DNS for the AAAA for >> ns.dreamchaser.org (because sendmail attempts ipv6 before it attempts >> ipv4) >=20 > ok. >=20 >> You forgot a trailing . in your NS records. Your DNS kicks back that >> =E2=80=9Chey, I don=E2=80=99t know about ns.dreamchaser.org=E2=80=9D = so it gives you an SOA >> record. (answer =3D 0, authority =3D 1) >> is doing lookups for ns.dreamchaser.org.dreamchaser.org because of = that. >> Post your zone file? >=20 > Staring hard, but I still don't see it. > This is a cut down one (removed comments and other hosts) > which still fails. > secondary names have been changed. DNS is public. Still not sure why you feel the need to do that. >> Here=E2=80=99s what I think it happening: (Have a reference here: >> Your system is looking at its own rdns/fdns, and discovering that its >> hostname is ns.dreamchaser.org.dreamchaser.org (probably because your >> primary IP is not present in /etc/hosts). It attempts to deliver to >> itself, and finds that mail SHOULD come to it (since your >> misconfiguration says your MX is ns.dreamchaser.org.dreamchaser.org >> AND that=E2=80=99s what you resolve to, but = ns.dreamchaser.org.dreamchaser.org >> isn=E2=80=99t in /etc/mail/local-host-names. >=20 > # cat /etc/hosts > ::1 localhost.dreamchaser.org. localhost > 127.0.0.1 localhost.dreamchaser.org. localhost > 66.109.141.57 ns.dreamchaser.org. ns trailing dots don=E2=80=99t typically get used in /etc/hosts, but = they=E2=80=99re probably harmless here. I=E2=80=99d remove them. >> * Put your primary addresses in /etc/hosts =E2=80=94 there are = numerous >> documented cases of sendmail ignoring /etc/hosts but it *might* help >> clue it in to your proper hostname at least. >=20 > see above >=20 >> * Fix your forward and reverse DNS >> * (and in fact, stop faking it out. Fix it at your hosting provider. >> if your hosting provider is taking this long, find another one) You had complained of bogus entries, and of them being slow, that was = what I had meant. In a perfect world, you should not need to host a = zone file for something you=E2=80=99re not authoritative for, like = 141.109.66.in-addr.arpa. as you=E2=80=99re presently doing. It=E2=80=99s = a useful workaround, but will break lookups to anything else in that = subnet. Everything in your zone file *looks* right here. Is your ISP giving you = any kind of ipv6 address? If you type =E2=80=9Chostname=E2=80=9D you do get your FQDN, right? -Dan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6068541D-A81B-45F0-B961-FD5CD6969FA0>