On 26/04/2020 13:30, Admin Beckspaced wrote:
my problem was that on my dev box postfix, asd it usually does, is using DNS to lookup IP address of a domain
Let's be precise: Postix is documented, if you searched the man pages or even google for the O'Reilly pages, uses the system DNS. It doesn't matter, therefore, whether the system DNS is DNSMasq, BIND, or configured to use static files. The file /etc/nsswitch.conf is there to determine this Your assertion above is true IF AND ONLY IF the line for hosts in that file reads hosts: dns In which case you should have told us your DNS service configuration from /etc/resolve.conf to start with. Now mine reads hosts: files dns But what difference does that make? I run DNSMasq which reads in /etc/hosts when it starts at boot. OR IF I EXPLICITLY TELL IT TO READ. So I can _experiment_ by altering /etc/hosts since the resolver reads that first with *MY* configuration. (And trust me, the way I have DNSMasq & Postfix set up you don't want to know the rest of my configuration. It's taken years, also does spam filtering at the DNS, the Postfix and the SpamAssassin levels, and some within Thunderbird.) I think you have been distracted by some of our advice. I think you should have spent more time reading the basic docco, the man pages and bit googling. (Don't expect the first expression you search for to be the right one.) -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org