What's new

DDNS Help for Asus AX-RT86u Pro

lcalamar

Occasional Visitor
Sorry to ask as I know there are a lot of posts referring to DDNS here. However - in reading several of them I get different solutions and I'm not sure the right way to go. Would be great if someone could direct me to the easiest/best solution. My use case is this:

- Due to having printing connectivity problems (brother wifi printer, which I believe may or may not be due to that printer always going into a deep sleep whereas the router needs to be re-booted daily to reconnect). When I reboot - Google Fiber (WebPass) always assigns a new IP. I then need to manually go into CloudFlare and change my Domain's A record to redirect to my Nextcloud server. It is fast to do but also a PITA... ( also have an app on my phone that notifies me if my IP changes - and what that IP is...)
Steps:
1) get my daily alert from my Android app that shows my new assigned IP
2) login to Cloudflare - update my domains' A record

Checking these forums I also see some DDNS solutions - but they aren't for an external service such as Cloudflare...

... I've seen some external services such as DYNU but not sure if they fit my use-case? (if so - any links on how to setup would also be great)

I'm not quite a 'newbie' on this stuff - but not an expert either. Happy to install/implement a script (have tried in the past but struggled finding the exact parameters needed from my cloudflare account (e.g.: zone_ID, API_Token, Record_Name, Record_TTL, etc... (using the script found here: https://github.com/alphabt/asuswrt-merlin-ddns-cloudflare)

Ideally not having to implement a script would be great... but I'll do what I need to do.

I'm a little surprised that Merlin doesn't include an add-on specifically for this - I used to have it on my PFSense router - and it worked great! (I checked the Add-Ons thread and didn't find anything)

Bottom line - directing me to the latest/best thread/link so I can solve this is what I'm looking for - along with any other suggestions/tips that would be helpful.
 
Thanks for the sample script link - I was able t use that to create a script....

Some notes:
  1. I am just running this using a cron job on my linux desktop... turns out this really has nothing to do with my router - directly. Just need to change my DNS A record when my external IP changes - is easy to manage on my desktop!
  2. The only issue I'm currently having is when I retrieve my current external IP address using: $curl -fs4 https://api.seeip.org/? I am often getting returned the wrong IP... doesn't seem to fix it if I change what service I use to get my external IP... any ideas why or how to solve?
 
Sorry to ask as I know there are a lot of posts referring to DDNS here. However - in reading several of them I get different solutions and I'm not sure the right way to go. Would be great if someone could direct me to the easiest/best solution. My use case is this:

- Due to having printing connectivity problems (brother wifi printer, which I believe may or may not be due to that printer always going into a deep sleep whereas the router needs to be re-booted daily to reconnect). When I reboot - Google Fiber (WebPass) always assigns a new IP. I then need to manually go into CloudFlare and change my Domain's A record to redirect to my Nextcloud server. It is fast to do but also a PITA... ( also have an app on my phone that notifies me if my IP changes - and what that IP is...)
Steps:
1) get my daily alert from my Android app that shows my new assigned IP
2) login to Cloudflare - update my domains' A record

Checking these forums I also see some DDNS solutions - but they aren't for an external service such as Cloudflare...

... I've seen some external services such as DYNU but not sure if they fit my use-case? (if so - any links on how to setup would also be great)

I'm not quite a 'newbie' on this stuff - but not an expert either. Happy to install/implement a script (have tried in the past but struggled finding the exact parameters needed from my cloudflare account (e.g.: zone_ID, API_Token, Record_Name, Record_TTL, etc... (using the script found here: https://github.com/alphabt/asuswrt-merlin-ddns-cloudflare)

Ideally not having to implement a script would be great... but I'll do what I need to do.

I'm a little surprised that Merlin doesn't include an add-on specifically for this - I used to have it on my PFSense router - and it worked great! (I checked the Add-Ons thread and didn't find anything)

Bottom line - directing me to the latest/best thread/link so I can solve this is what I'm looking for - along with any other suggestions/tips that would be helpful.
I am using ddclient on a linux machine to update my Cloudflare dns records.

Code:
pi@raspberry03:~ $ sudo apt info ddclient
Package: ddclient
Version: 3.11.2-2
Priority: optional
Section: net
Maintainer: Richard Hansen <[email protected]>
Installed-Size: 484 kB
Provides: dyndns-client
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: debconf (>= 0.5) | debconf-2.0, perl:any, curl
Recommends: iproute2, libdigest-sha-perl, libjson-pp-perl
Homepage: https://ddclient.net
Tag: implemented-in::perl, network::client, protocol::dns, role::program
Download-Size: 102 kB
APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian trixie/main arm64 Packages
Description: address updating utility for dynamic DNS services
 This package provides a client to update dynamic IP addresses with
 several dynamic DNS service providers, such as DynDNS.com.
 .
 This makes it possible to use a fixed hostname (such as
 myhost.dyndns.org) to access a machine with a dynamic IP address.
 .
 This client supports both dynamic and (near) static services, as  well as
 MX record and alternative name management. It caches the address, and
 only attempts the update when it has changed.

Code:
pi@raspberry03:~ $ sudo cat /etc/ddclient.conf
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf

protocol=cloudflare \
zone=domain name \
use=web, web=ipify-ipv4 \
login=token \
password='API Token' \
host.domain.com
 
Last edited:

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top