Hosts Not Resolving for DDNS Hosts

Started by rednep, Today at 01:35:44 AM

Previous topic - Next topic
Hi

Im relatively new to OPNSense - 6-8 months, I had been using OpenWRT prior. Also a first time poster on this forum.  I have been searching the forum, google and Youtube for answers

I believe I have a relatively default setup - details after question.

I can resolve my DHCP clients
QuoteC:\Users\rednep>nslookup nas01
Server:  router.lan
Address:  192.168.1.2

Name:    nas01.lan
Address:  192.168.1.5

I can resolve hosts on the internet
QuoteC:\Users\rednep>nslookup www.google.com
Server:  router.lan
Address:  192.168.1.2

Non-authoritative answer:
Name:    www.google.com
Addresses:  2404:6800:4006:804::2004
          142.251.40.36

but I can not resolve hosts related to my Dynamic DNS
QuoteC:\Users\rednep>nslookup blog.rednep.info
Server:  router.lan
Address:  192.168.1.2

Non-authoritative answer:
Name:    blog.rednep.info


When I specify a name server it works (being a Dynamic DNS, the IP address is different as I have rebooted OPNSense multiple times).
QuoteC:\Users\rednep>nslookup blog.rednep.info 1.1.1.1
Server:  one.one.one.one
Address:  1.1.1.1

Non-authoritative answer:
Name:    rednep.info
Address:  100.102.214.141
Aliases:  blog.rednep.info  blog.rednep.info

In DHCP if I configure 1.1.1.1 as the DNS, then everything works except for my local XXXXX.lan clients

Any help would be greatly appreciated,

Thank You.

OPNSense Config:

Version:  OPNsense 25.1-amd

System / General / Networking
   I have tried both DNS Server    1.1.1.1 and uncheck  Allow DNS Server List to be Overridded by DHCP/PPP on WAN     OR
                   No DNS listed and check   Allow DNS Server ......

ISC DHCPv4
   Nothing included for DNS

Unbound
    - enabled on Port 53
    - Network interfaces    All (recommended)
    - Register ISC DHCP4 Leases      CHECKED
    - Register DHCP Static Mappings  CHECKED
    - Flush DNS Cache during reload  CHECKED
    - Query Forwarding   Use System Names Servers   CHECKED





Resolved.  It wasnt OPNsesnse.  I had switched ISP and the new ISP had CGNAT enabled.  Calling and disabled this solved the problem