#[RESOLVED] git can’t DNS

1 messages · Page 1 of 1 (latest)

snow fern
#

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?

peak parcel
#

ok

#

all as the same user

snow fern
#

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 just can’t clone over https

peak parcel
#

Hmmmmm

#

emerge wgetpaste

snow fern
#

No like, I don’t have discord on the computer I’m installing linux on. I am using it on my phone.

peak parcel
#

yeah

#

emerge wgetpaste on your gentoo

#

or you can just type out the error you get trying to git clone

snow fern
#

It ends in can’t resolve github.com

peak parcel
#

no diference between specifying http or https ?

snow fern
#

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.)

past grotto
#

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.

snow fern
#

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

past grotto
#

Right, might be a library issue.

snow fern
#

I reinstalled everything without using the clang profile and it works fine now 🤷‍♂️