Gravity not updating

Please follow the below template, it will help us to help you!

Expected Behaviour:

[Replace this text with what you think should be happening. Please include as much detail as possible including, but not limited to:
-operating system pinhole 5.17.1
-FTL 5.23
-hardware]

Actual Behaviour:

[Gravity will not update I receive the following message: [✗] DNS resolution is currently unavailable
[✗] DNS resolution is not available]

I have tried different web browsers and rebooted the Pihole.

Can you run these commands in your Pi-hole terminal please and copy and paste the output in a reply? They will help shed some light on how things are set up.

cat /etc/resolv.conf
nslookup pi-hole.net
nslookup pi-hole.net 8.8.8.8

Thanks for your quick reply and taking the effort to help me :slight_smile:
BTW I used to be able to update the Gravity which usually only took seconds..

Results:

# Generated by resolvconf
nameserver 192.168.1.1

xxxxxxxx@pihole:~ $ 

xxxxxxx@pihole:~ $ nslookup pi-hole.net
;; connection timed out; no servers could be reached

Server:         8.8.8.8
Address:        8.8.8.8#53

Non-authoritative answer:
Name:   pi-hole.net
Address: 3.18.136.52

~ $ nslookup pi-hole.net 1.1.1.1
Server:         1.1.1.1
Address:        1.1.1.1#53

Non-authoritative answer:
Name:   pi-hole.net
Address: 3.18.136.52

Thanks. Would you be able to edit the /etc/resolv.conf on your Pi-hole and change the address to one of those working ones please? Eg to edit with nano

$ sudo nano /etc/resolv.conf

Change it to read

nameserver 1.1.1.1

Save with Ctrl-o Enter then Ctrl-x

Retry the Gravity update. Does it work now?

See if you can create a debug log with the below, and post the token URL here. With the nameserver temporarily fixed that should let it work.

pihole -d

Thanks for your help, my linux skills go no further then copy and paste :frowning: I tried for half an hour without result

Understood, any luck since? I asked you to run the command

cat /etc/resolv.conf

which lists the contents of that file. You did so and showed that it contains

# Generated by resolvconf
nameserver 192.168.1.1

That file lets the Linux system know how to look up domain names. Since we know that the public DNS server at 1.1.1.1 works, we can probably get your system working by changing the nameserver to that.

The nano command is just a text editor. When you run that command you'll be editing that file and see the same text as above. All you have to do is use the cursor keys, delete, etc to edit the line and change it from

nameserver 192.168.1.1

to

nameserver 1.1.1.1

Then use those key combos I mentioned to save the changes and quit. Then you can retry the Gravity update and see if it works now.

Thank you, I will have to reformat the micro sd card and start from scratch again.