0

Dynamic DNS on router with dynamic IP WAN address

I am investigating the use of NextDNS to protect all DNS requests on our internal network. We have a dynamic IP address on the WAN side of our router/firewall and are considering using NextDNS as follows. Create a NextDNS account. On the firewall, create a outbound NAT rule that maps port 53 to the DNS server address at NextDNS. Therefore, every DNS request coming from a system on our internal network would be routed to NextDNS no matter what destination IP address the system uses for DNS service. However, since our WAN ip address is allocated dynamically, I don't know how to inform the NextDNS server that our WAN ip address has changed (I assume the NextDNS server uses the source IP address to select the profile to use when filtering DNS requests). Note that no host on the internal network would be aware it is using NextDNS.

Is there a way to setup the profile such that we specify a DDNS domain name that will map to the dynamic IP address and therefore the appropriate profile will be used? Is there some other way to accommodate the dynamic IP addresses?

2 replies

null
    • losnad
    • 1 yr ago
    • Reported - view

    My.nextdns.io - Setup - Linked IP - Show advanced options - Configure DDNS

    Or better use https://Nextdns.io/cli or DoH / DoT

    Read https://help.nextdns.io/category/knowledge-base

    • Dan_Nessett
    • 1 yr ago
    • Reported - view

    Thanks. Perhaps the Linked IP strategy would work, but I am somewhat confused how to proceed. Under the advanced options, there is a way to specify a DDNS fqdn with "Configure DDNS". When I click on that option, there is a text field in which I am supposed to enter the ddns hostname. Is that all I need to do? 

Content aside

  • 1 yr agoLast active
  • 2Replies
  • 3022Views
  • 1 Following