Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - RAT

#1
Thanks, I had none 😯

root@OPNsense:~ # less /etc/resolv.conf
domain pihole
search pihole

I followed this guide using method 1: https://docs.pi-hole.net/routers/opnsense/#method-1-distribute-pi-hole-as-dns-server-via-dhcp

I got it working again by entering my pihole IPv4 and IPv6 address here as well: System: Settings: General: [Networking/DNS Servers]

Now my resolv.conf file looks like this:
You cannot view this attachment.

I hope that's the right OPNsense way to do it.

#2
Thanks Franco, I checked my DNS (little Pihole server) and I can access http://pkg.opnsense.org/ and any other sites that aren't on a blocklist.

But when I ssh into OPNsense and ping I get errors:



root@OPNsense:~ # ping bing.com
ping: cannot resolve bing.com: Name does not resolve
root@OPNsense:~ # ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: icmp_seq=0 ttl=56 time=15.700 ms
64 bytes from 1.1.1.1: icmp_seq=1 ttl=56 time=25.244 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=56 time=13.440 ms
64 bytes from 1.1.1.1: icmp_seq=3 ttl=56 time=17.130 ms
64 bytes from 1.1.1.1: icmp_seq=4 ttl=56 time=11.652 ms
^C
--- 1.1.1.1 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 11.652/16.633/25.244/4.696 ms
root@OPNsense:~ # ping http://pkg.opnsense.org/FreeBSD:14:amd64/
ping: cannot resolve http://pkg.opnsense.org/FreeBSD:14:amd64/: Name does not resolve



I wonder how to fix that. I want the Pihole DNS served to all clients in the LAN.
#3
I get this error when I initiate an update:

***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 25.7.4 (amd64) at Mon Oct 13 00:44:11 EDT 2025
Fetching changelog information, please wait... fetch: https://pkg.opnsense.org/FreeBSD:14:amd64/25.7/sets/changelog.txz: Host does not resolve
Updating OPNsense repository catalogue...
pkg: https://pkg.opnsense.org/FreeBSD:14:amd64/25.7/latest/meta.txz: No address record
repository OPNsense has no meta file, using default settings
pkg: https://pkg.opnsense.org/FreeBSD:14:amd64/25.7/latest/packagesite.pkg: No address record
pkg: https://pkg.opnsense.org/FreeBSD:14:amd64/25.7/latest/packagesite.txz: No address record
Unable to update repository OPNsense
Error updating repositories!
Checking integrity... done (0 conflicting)
Your packages are up to date.
***DONE***