Could not resolve host

1 개요[ | ]

Could not resolve host

2 #1[ | ]

root@localhost:~# curl -v example.com
* Could not resolve host: example.com; Unknown error
* Closing connection 0
curl: (6) Could not resolve host: example.com; Unknown error

3 #2[ | ]

root@localhost:~/go/src/hello# git fetch origin
fatal: unable to access 'https://github.example.com/user1/hello.git/': Could not resolve host: github.example.com
# systemd-resolved가 켜져 있어서 /etc/resolv.conf를 원복하는 경우
systemctl stop systemd-resolved
systemctl disable systemd-resolved
echo 'nameserver 8.8.8.8' > /etc/resolv.conf

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}