Error/i need help

$ snap install hello-world

 error: cannot install "hello-world": Post dial tcp: lookup no such host

how do fix this please

Looks like a DNS issue whereby your system is having trouble resolving a hostname. Are you able to hit a website from the same host?

If you asking I can access site by typing the link, I am not sure, this text will appear, so I’m not sure if it mean connection or no:

# Method Not Allowed

The method is not allowed for the requested URL.

When I writing just instead of full link, this messages sent, which mean I hit the website I think: store API service - Copyright 2018-2021 Canonical.