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 - willj8823

#1
It may not be related to your issue, but I had a similar Unbound DNS problem (after an OPNsense reboot) with name resolution for internal devices. My issue went away after I started Zenarmor (it was stopped for some reason) and ran a pending Zenarmor update.

As I was sorting through a DHCP issue with my Unifi APs after an OPNsense reboot, I noticed that name resolution was failing for internal devices. I restarted  Unbound and verified that my desktop (dhcp client) had the correct DNS server specified, but I still could not ping any of my internal devices by name. Looking through my Services on the OPNsense Dashboard, I noticed that Zenarmor was not running. I started Zenarmor and ran the pending update. I don't know whether Zenarmor being in a 'not running' state had anything to do with the name resolution failure, but after the Zenarmor update completed, name resolution was working again.

Will
#2
Currently running 25.7.6
 
Word of caution: Novice at work!
 
I use Unbound DNS Overrides/Aliases to forward requests to NGINX Proxy Manager for my internal services. I started to add a new alias to one of my hosts and realized that my previously defined aliases were no longer visible in the Web GUI. Although the aliases were no longer visible, they still worked. This really puzzled me. As a test, I created a new Test alias on a previously used host, and the new alias was visible in the Web GUI.
 
I downloaded and examined the config file and confirmed that all of the no longer visible aliases were still defined in the config file. I noticed that although the host reference in the stanza for the test alias definition matched the corresponding host uuid, all of the stanzas for the aliases that were not visible in the GUI referenced a different host (uuid) for which I could not find a matching host definition.
 
Overrides Host Definition
 
        <host uuid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx">
          <enabled>1</enabled>
          <hostname>local</hostname>
          <domain>xyz.com</domain>
          <rr>A</rr>
          <mxprio/>
          <mx/>
          <ttl/>
          <server>10.10.10.108</server>
          <txtdata/>
          <description>local via nginx</description>
        </host>
 
Test Alias
 
        <alias uuid="12e3fd92-4ead-4876-bc39-d0e74c559985">
          <enabled>1</enabled>
          <host> xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx </host>   ç Matches uuid above
          <hostname>test</hostname>
          <domain>local.xyz.com</domain>
          <description>Test Override Alias</description>
        </alias>
 
Existing Alias
 
        <alias uuid="12e3fd92-4ead-4876-bc39-d0e74c559985">
          <enabled>1</enabled>
          <host>yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy</host>  ç Does not match uuid above
          <hostname>existing</hostname>
          <domain>local.xyz.com</domain>
          <description>Existing Alias</description>
        </alias>
 
Since the host uuid in the Test Alias stanza matched the host uuid for the referenced host (Alias is visible), I decided to change the uuid values in all of the Alias stanzas to match the uuid values in the referenced host definitions. 

After I replaced all the Existing host uuid values in each Alias stanza with the uuid values from the referenced Host definitions, I restored the Unbound DNS settings from the modified config file using System/Configuration/Backups.  After the Unbound DNS settings were restored, all of my Unbound DNS Overrides/Aliases became visible in the Web GUI again.
 
By the way, I do not know how long the aliases have not been visible in the Web GUI. I found the mismatch between the uuid values in the Alias stanzas and the uuid values in the referenced hosts in my backup files going back at least to early July
 
Will
#3
Hi Stefan,

I am interested in testing the Q-Feeds plugin.

Thanks,

Will
#4
Hi, If you are using NAT with IPv6, make sure that IPV6 link-local addresses are not included in the list of source addresses for NAT66.

Background – My setup is dual WAN (Uverse fiber and Spectrum), with load balancing and failover, and I use NAT66 (I know the reasons that I shouldn't). About a month ago, I noticed that my WAN2 (Spectrum) interface did not have a global IPv6 address (dhcpv6 client). I checked the logs and saw the "dhcp6c transmit failed: Permission denied" error, but did not know how to interpret it.
 
Over a couple of weeks, I tried everything that I could think of to resolve the issue, but nothing worked. Then, I stumbled across a post about dhcpv6 issues, in which someone suggested that the problem may be related to NAT66. I looked at my NAT66 configuration and realized that included in the source alias list "Internal_All_IPv6" that I use for NAT66 was fe80::/10 (link-local addresses). I suspected that this might be interfering with DHCPv6 (Solicit, Advertise, Request, Reply) sequence, so I removed the link-local addresses from the NAT66 source alias. As soon as I did this, the WAN2 interface obtained a global address, and I have not had the problem since.

...just a newbie's suggestion of something to try.

Will