OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: JonasBesbrugge on September 21, 2024, 06:25:07 PM

Title: update goes wrong: Host does not resolve
Post by: JonasBesbrugge on September 21, 2024, 06:25:07 PM
I got this massage after update:

***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 24.1.5_3 at Sat Sep 21 18:16:07 CEST 2024
Fetching changelog information, please wait... fetch: https://pkg.opnsense.org/FreeBSD:13:amd64/24.1/sets/changelog.txz: Host does not resolve
Updating OPNsense repository catalogue...
pkg: Repository OPNsense has a wrong packagesite, need to re-create database
pkg: https://pkg.opnsense.org/FreeBSD:13:amd64/24.6/latest/meta.txz: No address record
repository OPNsense has no meta file, using default settings
pkg: https://pkg.opnsense.org/FreeBSD:13:amd64/24.6/latest/packagesite.pkg: No address record
pkg: https://pkg.opnsense.org/FreeBSD:13:amd64/24.6/latest/packagesite.txz: No address record
Unable to update repository OPNsense
Error updating repositories!
pkg: Repository OPNsense has a wrong packagesite, need to re-create database
pkg: Repository OPNsense cannot be opened. 'pkg update' required
Checking integrity... done (0 conflicting)
Your packages are up to date.
***DONE***

Ping to internet  8.8.8.8 (etc) does not work.
tryed to update from console no luck.
DNS's are set in setting.
Gateway is correct lan has conection to the internet.

What can i do more?

Grz
Jonas
Title: Re: update goes wrong: Host does not resolve
Post by: newsense on September 21, 2024, 10:50:57 PM
Disable IPv6 on the WAN interface and try again
Title: Re: update goes wrong: Host does not resolve
Post by: franco on September 22, 2024, 12:13:06 AM
The health audit would tell use more but in general  there is an issue with your DNS resolution on the box. Unfortunately pinging 8.8.8.8 will not help to diagnose because you are circumventing DNS here.


Cheers,
Franco
Title: Re: update goes wrong: Host does not resolve
Post by: Sven on December 01, 2024, 07:27:35 PM
I have the exact same issue. DNS resolving works but pinging any address fails.
I got a weird behavior before that only IPv6 addresses were pingable. After a reboot no address is pingable now.
Title: Re: update goes wrong: Host does not resolve
Post by: Sven on December 02, 2024, 04:14:53 PM
I'm a step further. Wireguard was activated, when I switch it off, everything is working again. Maybe there are some routing issues...
Title: Re: update goes wrong: Host does not resolve
Post by: franco on December 17, 2024, 03:08:18 PM
Disable DNS setting in WireGuard.  It will try to take over DNS but that's not helpful in most cases.