I run dnsmasq instead of systemd-resolved on all my systems. I recently moved my dekstop server to new hardware running xubuntu 24.04 replacing my previous system that was running xubuntu 22.04.
I installed dnsmasq and removed systemd-resolved and all seemed well until I noticed I couldn't send E-Mail, I run a postfix 3.8.6 server which sends outgoing E-Mail via my ISP's smarthost. In the mail.log I was seeing lots of messages like:- 2024-06-02T00:10:30.652648+01:00 q957 postfix/smtp[8733]: 9763C3542024: to=<ch...@isbd.co.uk>, relay=none, delay=8729, delays =8729/0.02/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=smtp-auth.mythic-beasts.com type=A: Host not found, try again) But running 'host smtp-auth.mythic-beasts.com' returned a perfectly OK address. It turned out that the file /var/spool/postfix/etc/resolv.conf was:- nameserver 127.0.0.53 options edns0 trust-ad search zbmc.eu Changing it to:- nameserver 127.0.0.53 options edns0 trust-ad search zbmc.eu Has fixed the problem. However I'm sure this isn't the 'right' way to do this. How do I get postfix to pick up the resolv.conf file that is used/created by dnsmasq? -- Chris Green _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org