Is a firewall blocking DNS requests?

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 12.1.39
How are you able to access your server: The webadmin
SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: no

Describe your issue

I’m getting an error about internet connectivity when I run the diagnoses, with the message:

Domain name resolution seems to be broken for some reason… Is a firewall blocking DNS requests?

And sure enough, I’m also getting no response when I ping popular websites from an ssh session.

root@ynh:~# ping bbc.co.uk
ping: bbc.co.uk: Temporary failure in name resolution

I temporarily disabled the firewall on my router and got the same results.


If I check YNH’s firewall, I have:

  • open TCP ports: 25, 53, 80,323, 443, 587, 993, 1194, 5222, 5269
    • UPnP for all of them but 53 and 1194
  • open UDP ports: 53, 1194, 5353, 49152
    • UPnP only for 49152
  • Further down the page: UPnP is disabled

Where should I look? What can I do?

I obviously need this to work to get to apply the recent update.

Thank you!

Share relevant logs or error messages

there’s nothing in the logs about this. The latest entry is about a failed borg backup attempt 11 hours ago, also due to a failed name resolution. Looking at Vorta, the latest successful backup was a week ago.

Can you try

yunohost tools regen-conf dnsmasq -f
1 Like
root@ynh:~# yunohost tools regen-conf dnsmasq -f
Success! Configuration updated for 'dnsmasq'
dnsmasq: 
  applied: 
    /etc/resolv.dnsmasq.conf: 
      status: updated
  pending: 

All good now!

Thank you very much!

1 Like