I’m having a very weird problem with a new gentoo install. git can’t resolve any hostname. I’m not having any other issues with DNS. I’m not on a VPN, I don’t have or need a proxy, and I’ve unset all of the git configs I can find. This is happening both within portage (I’m trying to add an overlay) and when I try to clone a repository by itself. Any ideas?
#[RESOLVED] git can’t DNS
1 messages · Page 1 of 1 (latest)
ok
all as the same user
try pinging github.com
try wgeting a file from github.com
try cloning a repo from github via https
I can’t copy and paste because I haven’t installed discord yet but I have no problem connecting to github
I can clone over ssh
I can wget https://github.com
I just can’t clone over https
No like, I don’t have discord on the computer I’m installing linux on. I am using it on my phone.
yeah
emerge wgetpaste on your gentoo
or you can just type out the error you get trying to git clone
It ends in can’t resolve github.com
no diference between specifying http or https ?
Nope
I’m probably going to start from scratch later - there are enough things I don’t like that it’s worth it 🙂
(I combined the desktop and llvm profiles and I’m getting weirdness. I should have just used the desktop profile and applied clang stuff later.)
If you're using systemd, try disabling dnssec. Check your /etc/resolv.conf if a proper nameserver has been setup. Use dig to test a nameserver's capability to resolve a name.
I’m not having any problems with DNS other than git over http(s)
I can emerge, I can see websites, I can clone over ssh
I have a sneaking suspicion that the error I’m seeing is not the error that’s actually happening
Right, might be a library issue.
I reinstalled everything without using the clang profile and it works fine now 🤷♂️