[SOLVED] Dynamic DNS - Namecheap doesn't work but cloudflare does

Started by mfsense, October 26, 2020, 06:59:59 AM

Previous topic - Next topic
Hi, wondering if someone else is having an issue updating their IP via Services > Dynamic DNS with namecheap.

I currently use the same service with cloudflare and it works fine but with name cheap i am getting this error on the logs

/services_dyndns.php: Dynamic DNS: (Error) No Records updated. A record not Found

this is my config:
Enabled: checked
Service type: Namecheap
Interface Monitor: WAN
Hostname: mydomain.com
MX: <empty>
Wildcards: unchecked
Verbose logging: checked
username: <empty>
password: <Dynamic DNS Password provided by namecheap>

please let me know if i made a dummy mistake.
Thank you!

Edit: currently on opnsense 20.7.4, but 20.1.9 also had the same issue
edit2: also wanted to note that namecheap api works fine with curl
curl "https://dynamicdns.park-your-domain.com/update?host=<www.mydomain.com>&domain=<mydomain.com>&password=<namecheap ddns pw>&ip=<my current ip>"

Exact settings as mine and I'm not having any issues.

Check your Namecheap Account under Advanced DNS.  There is a "Status" toggle under Dynamic DNS that can disable your Records.  Its at the bottom below Host Records.
AhnHEL (Angel)

thanks for the response

finally figured it out
opnsense settings was right but it only worked when I correctly set the host on Namecheap

under Advanced DNS >  Dynamic DNS
A + Dynamic DNS Record host should be set with @ for your main domain and for sub domain you only need to set the sub domain excluding the domain.

for example
host should be 'www' for www.mydomain.com
host should be '@' for mydomain.com

Yeah, I normally just write the subdomain under Host, omitting the TLD for an A+ Dynamic DNS Record.

crazysub.mydomain.com

Type                                                 Host                          Value                         TTL
A + Dynamic DNS Record              crazysub               www.xxx.yyy.zzz            Automatic


Glad you got it sorted
AhnHEL (Angel)