Aliases keep going stale / stop resolving

Started by sarkyscouser, Today at 09:08:12 AM

Previous topic - Next topic
I stand corrected - thanks. Now I need to research when the old behaviour I learned and memorised decades ago changed.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

I too lost track of DNS and resolver library long ago. That's why I looked it up. But thinking about it, sending queries to one name server until it fails is the way to build a good cache and responses from a cache should be the quickest.

Quote from: mooh on <strong>Today</strong> at 03:05:10 PMUnbound will only query locally configured DNS servers if it is explicitly configured to do so under "Services: Unbound DNS: Query Forwarding: Use System Nameservers"

I don't enable that option.

Consider the default configuration of OPNsense which has the DNS server options for Allow DNS server list to be overridden by DHCP/PPP on WAN enabled, the ISP supplied DNS will be used and the DNS servers listed under DNS servers will count for nought.

The problem @sarkyscouser is experiencing with the Aliases failing to update in OPNsense appears to be related to DNS. Also reported is that no problems are observed when accessing the URL's using a computer attached to the local network.

The configuration information provided thus far indicates the client computers will be obtaining IP addresses from DNS servers which OPNsense itself is not using - this opens the possibility of different behaviour being observed in OPNsense compared to the network clients.

Going back many years, the firewalls I was maintaining, FortiGate in this case (this would apply to other brands too), the devices would initially be configured by someone else who would set the DNS server on the FortiGate to use FortiNet's DNS servers. The network clients would be using DNS on the Windows AD controller, with Windows AD querying root servers, or more likely, a closer DNS server.

The FortiGate's would be configured with FQDN address entries and used in firewall rules. Occasionally, the user would be blocked connecting to some site that a firewall rule should allow. Tracking down the issue, it was found the firewall was resolving the name to a different address compared to what Active Directory obtained. Pointing the FortiGate's DNS to the internal DNS server resolved the problem.