For everybody who has an issue with the text: your-dns-needs-immediate-attention
for example:

ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ECONNREFUSED: Connection refused - connect(2) for "" port 443 (

This is problably because the .dev and .local are now valid top level extensions.

i had to solve this, add “search home.local” to “/etc/resolv.conf”
(actually added this to “/etc/resolvconf/resolv.conf.d/head”)

4 thoughts on “your-dns-needs-immediate-attention”

  1. I was having this problem trying to install the gem for bundler, but the resolution suggested here did not work. In my case I had my computer host name set to “”.
    I removed the domain suffix from the hostname and that did the trick. It was not critical because I just made up the domain suffix when i set up the host.
    I removed it like so…
    $ sudo hostenamectl set-hostname lm17

    Logout then login and then I was able to run “gem install bundler” with no problems. Pehaps is an established domain.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.