"Could not resolve host"의 두 판 사이의 차이

(새 문서: ==개요== ;Could not resolve host <syntaxhighlight lang='console'> root@localhost:~# curl -v example.com * Could not resolve host: example.com; Unknown error * Closing connection 0...)
 
 
(같은 사용자의 중간 판 하나는 보이지 않습니다)
2번째 줄: 2번째 줄:
;Could not resolve host  
;Could not resolve host  


==#1==
<syntaxhighlight lang='console'>
<syntaxhighlight lang='console'>
root@localhost:~# curl -v example.com
root@localhost:~# curl -v example.com
7번째 줄: 8번째 줄:
* Closing connection 0
* Closing connection 0
curl: (6) Could not resolve host: example.com; Unknown error
curl: (6) Could not resolve host: example.com; Unknown error
</syntaxhighlight>
==#2==
<syntaxhighlight lang='console'>
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
</syntaxhighlight>
<syntaxhighlight lang='bash'>
# systemd-resolved가 켜져 있어서 /etc/resolv.conf를 원복하는 경우
systemctl stop systemd-resolved
systemctl disable systemd-resolved
echo 'nameserver 8.8.8.8' > /etc/resolv.conf
</syntaxhighlight>
</syntaxhighlight>



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