DietPi-Login DNS Resolver Not Working Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
gamingunfinished
Posts: 9
Joined: Wed Feb 19, 2020 12:06 am

DietPi-Login DNS Resolver Not Working

Post by gamingunfinished »

Whenever my Pi attempts to login I get an error message saying that the DNS resolver failed. My internet is working.
User avatar
Joulinar
Posts: 2582
Joined: Sat Nov 16, 2019 12:49 am

Re: DietPi-Login DNS Resolver Not Working

Post by Joulinar »

Hi,

pls can you past the correct error message or a screen shot!
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
gamingunfinished
Posts: 9
Joined: Wed Feb 19, 2020 12:06 am

Re: DietPi-Login DNS Resolver Not Working

Post by gamingunfinished »

I tried it with cloudflare as well.
Annotation 2020-02-18 184532.png
User avatar
Joulinar
Posts: 2582
Joined: Sat Nov 16, 2019 12:49 am

Re: DietPi-Login DNS Resolver Not Working

Post by Joulinar »

was this is a fresh installation? Do you use IPv6 on your network?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
gamingunfinished
Posts: 9
Joined: Wed Feb 19, 2020 12:06 am

Re: DietPi-Login DNS Resolver Not Working

Post by gamingunfinished »

Yes, I just installed this and I use ipv6.
User avatar
Joulinar
Posts: 2582
Joined: Sat Nov 16, 2019 12:49 am

Re: DietPi-Login DNS Resolver Not Working

Post by Joulinar »

ok pls try to deactivate IPv6 on your dietpi system, Let's see if IPv4 is working. got to dietpi.txt on your SD card and change the following.

Code: Select all

# IPv6
CONFIG_ENABLE_IPV6=0
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
gamingunfinished
Posts: 9
Joined: Wed Feb 19, 2020 12:06 am

Re: DietPi-Login DNS Resolver Not Working

Post by gamingunfinished »

It's still not working.
User avatar
Joulinar
Posts: 2582
Joined: Sat Nov 16, 2019 12:49 am

Re: DietPi-Login DNS Resolver Not Working

Post by Joulinar »

pls can you past output of following

Code: Select all

ping -4 -c 1 dns9.quad9.net
ping -4 -c 1 9.9.9.9
ping -c 1 dns9.quad9.net
ping -c 1 9.9.9.9
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
gamingunfinished
Posts: 9
Joined: Wed Feb 19, 2020 12:06 am

Re: DietPi-Login DNS Resolver Not Working

Post by gamingunfinished »

root@DietPi:~# ping -4 -c 1 dns9.quad9.net
PING dns9.quad9.net (9.9.9.9) 56(84) bytes of data.
64 bytes from dns9.quad9.net (9.9.9.9): icmp_seq=1 ttl=54 time=53.3 ms

--- dns9.quad9.net ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 53.303/53.303/53.303/0.000 ms
root@DietPi:~# ping -4 -c 1 9.9.9.9
PING 9.9.9.9 (9.9.9.9) 56(84) bytes of data.
64 bytes from 9.9.9.9: icmp_seq=1 ttl=54 time=182 ms

--- 9.9.9.9 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 181.721/181.721/181.721/0.000 ms
root@DietPi:~# ping -c 1 dns9.quad9.net
PING dns9.quad9.net(2620:fe::fe:9 (2620:fe::fe:9)) 56 data bytes
ping -c 1 9.9.9.9

--- dns9.quad9.net ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

root@DietPi:~# ping -c 1 9.9.9.9
PING 9.9.9.9 (9.9.9.9) 56(84) bytes of data.
64 bytes from 9.9.9.9: icmp_seq=1 ttl=54 time=206 ms

--- 9.9.9.9 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 205.500/205.500/205.500/0.000 ms
User avatar
Joulinar
Posts: 2582
Joined: Sat Nov 16, 2019 12:49 am

Re: DietPi-Login DNS Resolver Not Working

Post by Joulinar »

are you sure you deactivated IPv6 on your DietPi system? Because your system is still trying to access some IPv6 address, which should not be the case if IPv6 was disabled.

Code: Select all

root@DietPi:~# ping -c 1 dns9.quad9.net
PING dns9.quad9.net(2620:fe::fe:9 (2620:fe::fe:9)) 56 data bytes
ping -c 1 9.9.9.9

--- dns9.quad9.net ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
pls can you past output of

Code: Select all

cat /DietPi/dietpi.txt |grep CONFIG_ENABLE_IPV6
ip a
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply