You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DNS resolution fails/misconfigured when running ansible-playbook main.yml . Specifically, the error message indicates a failure to resolve the hostname registry-1.docker.io due to a connection issue with the DNS server running on localhost (::1 refers to the IPv6 loopback address):
in TASK [Ensure internet-monitoring environment is running. dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:55381->[::1]:53: read: connection refused
[internet_pi]
#10.0.100.52 ansible_user=pi
# Comment out the previous line and uncomment this to run inside Raspberry Pi.
127.0.0.1 ansible_connection=local ansible_user=pi
config.yml
unmodified but for change-this-password
Troubleshooting
nslookup registry-1.docker.io
root@net:~/internet-pi# nslookup registry-1.docker.io
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to 127.0.0.1#53: connection refused
;; no servers could be reached
DNS resolution fails/misconfigured when running
ansible-playbook main.yml
. Specifically, the error message indicates a failure to resolve the hostnameregistry-1.docker.io
due to a connection issue with the DNS server running onlocalhost (::1
refers to the IPv6 loopback address):in
TASK [Ensure internet-monitoring environment is running.
dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:55381->[::1]:53: read: connection refused
Full Error
unmodified but for
change-this-password
Troubleshooting
Temp solution
Update
/etc/resolv.conf
:sudo nano /etc/resolv.conf
Add or update lines to:
sudo systemctl restart docker
The text was updated successfully, but these errors were encountered: