snap – Postman installation error on Ubuntu 18.04 : no such host

I tried to install Postman on Ubuntu 18.04.5 LTS using snap and I got this error :

sudo snap install postman
erreur : cannot install "postman": Post
 dial tcp: lookup
 no such host

Also tried to download the bin from here, but does not work too.