Could not resolve host

Jmnote (토론 | 기여)님의 2024년 4월 26일 (금) 14:09 판 (→‎개요)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

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 }}