I'am trying to clone buildroot repository by utilising the following command:
> git clone https://github.com/buildroot/buildroot.git
Cloning into 'buildroot'...
fatal: unable to access 'https://github.com/buildroot/buildroot.git/': Could not resolve host: github.com
Could you please help me undrestand what's wrong with this command ?
EDIT
The result of nslookup github.com
is:
> nslookup github.com
;; Got SERVFAIL reply from 192.168.249.10, trying next server
;; connection timed out; no servers could be reached
The problem is resolved.
What i have done : On firefox browser
There is proxy settings of the browser
HTTP Proxy=my_proxy
andPort=my_port
.I configure
HTTPS_PROXY
as follow:And the cloning works as expected.
I go on this solution because the link can be opened with a browser and not with the command line, so surely there is a missing confguration in shell env variable.
similar question(pointed by @Deepak Mahakale) : could not resolve host github.com error while cloning remote repository in git