Donated USD 50.00 to support the project. Thanks for a great piece of software.
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 MenuQuote from: wirefall on July 03, 2025, 09:28:20 AMPlease consider to include also multicore support in home plan, thanks in advance :-)
Quote from: unixpgmr on March 30, 2025, 10:07:28 PMI am not sure if this is possible for OPNSense, but a patreon would be kind of nice. That way we could make continual donation.The problem with that is that Patreon's fees are much higher than Paypal's fees. The former apparently charges 5% to 12% and payment processing fees come on top of that.
Quote from: Patrick M. Hausen on February 04, 2025, 04:34:51 AMPassively cooled:I have this switch and I'm very happy with it. I'm running SwitchOS, instead of RouterOS for easier configuration.
https://mikrotik.com/product/crs309_1g_8s_in
Quote from: alexfabian on January 31, 2025, 03:41:36 AMWe are already used to having to wait for Zenarmor to get right every time a new OPNsense update comes out.If you are already used to it, why didn't you wait, until Zenarmor announces compatibility with OPNsense 25.1?
Quote from: jw64 on January 30, 2025, 04:24:03 AMHow can we know Zenarmore is ready for a new release so we can upgrade safely?There is a dedicated Zenarmor board on this forum. They'll post there, when it is ready.
root@prx-prod-01:~# nslookup opnsense.org
;; Got SERVFAIL reply from 192.168.101.1
Server: 192.168.101.1
Address: 192.168.101.1#53
** server can't find opnsense.org: SERVFAIL
root@prx-prod-01:~# nslookup opnsense.org 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: opnsense.org
Address: 178.162.131.118
Name: opnsense.org
Address: 2001:1af8:4700:a1fa:3::2
root@prx-prod-01:~# nslookup google.com
;; Got SERVFAIL reply from 192.168.101.1
Server: 192.168.101.1
Address: 192.168.101.1#53
** server can't find google.com: SERVFAIL
root@prx-prod-01:~# nslookup google.com 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: google.com
Address: 142.251.46.206
Name: google.com
Address: 2607:f8b0:4005:813::200e
root@prx-prod-01:~# ping 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=56 time=8.41 ms
64 bytes from 9.9.9.9: icmp_seq=2 ttl=56 time=11.1 ms
^C
--- 9.9.9.9 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 8.414/9.745/11.076/1.331 ms
Enabled Domain Address Port Hostname
X 9.9.9.9 853 dns.quad9.net
X 149.112.112.112 853 dns.quad9.net
root@prx-prod-01:~# nslookup google.com
Server: 192.168.101.1
Address: 192.168.101.1#53
Non-authoritative answer:
Name: google.com
Address: 142.251.46.206
Name: google.com
Address: 2607:f8b0:4005:812::200e
root@prx-prod-01:~#
Quote from: EricPerl on January 08, 2025, 09:00:12 AMFor example:Eric, thanks so much for bearing with me and responding again. Yes, you're absolutely right, that sentence slipped through the cracks and is totally confusing.QuoteI used nslookup in the past, when this problem occurred, and it did return my WAN address. After I "fixed" this as described above, it returned my LAN address once again (and also updated my local DNS cache to the LAN address).By "my LAN address", you probably mean "OPN's WAN address"
By "my LAN address", you probably mean "Diskstation's LAN address"
I'm making assumptions. I might be wrong and then we're talking past each other...
Type Name Content
A ipv4 <ip-address>
CNAME * <mydomain>.net
CNAME <mydomain>.net ipv4.<mydomain>.net
Quote from: EricPerl on January 08, 2025, 09:00:12 AMWith regards to "Register DHCP Static Mappings" setting in ISC:Please correct me, if I am wrong, but I had thought that ISC is the DHCP server and Unbound is the DNS server and that this flag is necessary, so ISC registers the hostname and its static ip address with Unbound, thus enabling Unbound to resolve the hostname to the associated static IP address.
As long as you do a host override in ISC (with IP equal to the static mapping), I don't understand the benefit of turning this on, because ISC already has all the information it needs to handle the DNS request.
QuoteIf you specified a hostname in the DHCP static mapping (to override the one the NAS specifies), then this setting would enable ISC to become aware of this hostname to IP mapping. As mentioned before, it's my understanding ISC needs to be restarted after static mappings are updated (if they are relevant to ISC).Ok, this motivated me to do a few experiments, this time using a Debian/Proxmox system (running Debian 12 [bookworm]) with the NIC's ip address 192.168.101.60) as my client to check the nslookup results.
This said, a domain name will likely be added to hostname. Either OPN's domain name, or the domain name for the interface.
I have this unchecked: "Do not register system A/AAAA records". I have experimented enough with it to fully understand what that does, but I don't change defaults until I have to, and I didn't have to...
Register ISC DHCP4 Leases: Checked
Register DHCP Static Mappings: Unchecked
Do not register system A/AAAA records: Unchecked
root@prx-prod-01:~# nslookup diskstation
Server: 192.168.101.1
Address: 192.168.101.1#53
Non-authoritative answer:
Name: diskstation.<mydomain>.net
Address: <my WAN IP address>
root@prx-prod-01:~#
Register ISC DHCP4 Leases: Checked
Register DHCP Static Mappings: CHECKED
Do not register system A/AAAA records: Unchecked
Now this one works properly (remember the override is disabled):root@prx-prod-01:~# nslookup diskstation
Server: 192.168.101.1
Address: 192.168.101.1#53
Name: diskstation.<mydomain>.net
Address: 192.168.101.20
root@prx-prod-01:~#
Quote from: EricPerl on January 07, 2025, 11:08:17 PMThe short version of what I tried to say is to use the appropriate tool to diagnose.Thanks again for your reply. You make an excellent point, I'll change my shares to the NAS from other computers to use the NAS' IP address (instead of the hostname), so my setup is not affected when this problem happens again. That way I'll have some time to troubleshoot the issue, when it occurs again.
If you have a DNS issue, use nslookup. Again, Windows ping can get weird if a name is supplied and the DNS server is unreachable or returns an error.
nslookup host performs the lookup using the default DNS server.
nslookup host dnsserverIP performs the lookup using the specified DNS server.
If the results differ, your default DNS is likely not the specified server...
Either of these returning the OPN WAN IP is odd.
The fact that fixing something in Unbound gets you back to a good state would suggest Unbound was to blame.
But you need to dig while the system is in a bad state... You might have to enable query logs to make progress.
QuoteYou might want to be a little more precise with your description. For example, "LAN address" is vague. Which machine's LAN address? OPN's? The looked up host's? The machine executing the lookup?I thought I was precise, but it seems that I was mistaken. This was only ever about the IP address that is assigned to the hostname ("diskstation") of my NAS device by the default name server (OPNsense) in my network.
QuoteA host override in Unbound (name to IP mapping) works better if the IP is stable (static IP on host or DHCP reservation).As mentioned in my original post my NAS has indeed a static IPv4 address configured in ISC (192.168.101.20).
QuoteBut you don't need to bother Unbound with DHCP reservations (MAC/clientID to IP mapping) which seem to require Unbound to restart anyway.I'm not sure what you mean by that. I'm not doing any DHCP reservations in Unbound, only in ISC. The only thing I'm doing in Unbound is the Host Override.
That setting is useful if Unbound entirely relies on DHCP reservations.
Quote from: EricPerl on January 07, 2025, 06:20:13 AMFollowing this because I have an outstanding issue that might be related.Eric, thanks so much for your response.
Did you mean WLAN address?
QuoteThe output of ping on Windows can be weird in case it fails DNS resolution.I used nslookup in the past, when this problem occurred, and it did return my WAN address. After I "fixed" this as described above, it returned my LAN address once again (and also updated my local DNS cache to the LAN address).
I've seen such cases where the machine IP is displayed...
If you suspect DNS issues, usednslookup diskstation
and thendnslookup diskstation <your DNS server>
and see what they return.
QuoteSide note: why bother with "Register DHCP static mappings" if you're using host overrides?This is an artifact of my configuration attempts. Initially I just used DHCP static mappings, but it didn't resolve my diskstation to a LAN address, until I implemented the override. Perhaps I need to uncheck "Do not register system A/AAAA records" for that to work... At the time I just was happy that I got things to work. But you have a point and I should revisit that at some point to clean it up.
I sometimes override the hostname in the DHCP reservation (when I can't change it on the host) so it makes more sense.
host: diskstation
domain: <mydomain.net>
Type: A (IPv4 address)
Value: 192.168.101.20