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 "your-dns-needs-immediate-attention.dev" port 443 (https://your-dns-needs-immediate-attention.dev)
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”)
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 “lm17.emtech.dev”.
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 emtech.dev is an established domain.
Some info about the matter:
* https://www.icann.org/resources/pages/name-collision-it-pros-faqs-2014-08-01-en
* http://newgtlds.icann.org/sites/default/files/agreements/name-collision-assessment-04aug14-en.htm
* https://www.icann.org/resources/pages/name-collision-2013-12-06-en
https://www.icann.org/en/system/files/files/name-collision-mitigation-01aug14-en.pdf