I’m trying to figure out an email issue on a fresh install of the latest Cyberpanel and sometimes I get email bounced back with the following error:
<example@example.ba>: Host or domain name not found. Name service error for
name=example.ba type=AAAA: Host found but no data record of requested type
When I run the command “dig mx example.ba +short”, it shows empty output instead of ‘10 mail.domain.ba’
Resolution suggested in a non cyberpanel forum:
Specify correct DNS servers in the `/etc/resolv.conf` on the mail server.
When I look in /etc/resolv.conf, it shows 2 nameservers: 1.1.1.1 and 8.8.8.8
Is this correct? And if it needs to be changed, can someone explain how to change it?
Thanks