Can't change DNS

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
DonLiborio
Posts: 28
Joined: Mon May 15, 2017 8:34 pm

Can't change DNS

Post by DonLiborio »

Even though I have enabled "Static DNS" the Ethernet Details keep saying "DNS = 127.0.0.1". If I change to DHCP it still fails to use the router's DNS. What am I doing wrong?

Code: Select all

Ethernet Details:                                                            │
│ Usage   : Sent = 6 MiB | Recieved = 0 MiB                                    │
│ Address : IP = 192.168.0.19 | Mask = 255.255.255.0 | Gateway = 192.168.0.1 | │
│ DNS = 127.0.0.1                                                              │
│                                                                              │
│                          ●─ DHCP/STATIC IP ──────────────────────●           │
│           Change Mode    : [STATIC]                                          │
│           Copy           : Copy current address to "Static"                  │
│           Static IP      : [192.168.0.19]                                    │
│           Static Mask    : [255.255.255.0]                                   │
│           Static Gateway : [192.168.0.1]                                     │
│           Static DNS     : [8.8.8.8 8.8.4.4] 
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

Re: Can't change DNS

Post by Joulinar »

Hi,

can you share following

Code: Select all

cat /etc/resolv.conf
readlink -f /etc/resolv.conf
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply