OPNsense Forum

English Forums => Documentation and Translation => Topic started by: opnsenseuser on January 06, 2019, 07:59:17 pm

Title: [SOLVED] Configure - DynDNS + Cloudflare + dnsomatic - Howto?
Post by: opnsenseuser on January 06, 2019, 07:59:17 pm
i couldn´t find any tutorial on wiki or anywhere else for my problem.:-(
so i have to ask the community and hope someone can help me! :-)
Even in the internet i found no working tutorial for my problem!

Mailserver (iredmail) works great with cloudflare! :-) sending and recieving.

But my provider only supports dynamic ip.
So i have to use dyndns for my mailserver in my local lan.

1. I created an dnsomatic account with these setting:

Email : "Cloudflare registered email"
API Token : "Global API Key from Cloudflare"
Hostname : dynamic
Domain : "mydomain.com"

Status: "Waiting for first update"....but nothing happens! :-(

2. I installed dyndns on opnsense:
Enable : "set"
Service type: dns-o-matic
Interface to monitor: wan
hostname: "mail.mydomain.com"
MX: "no entry"
wildcards: "not set"
verbose logging: "not set"
username: "my dnsomatic username"
password: "my dnsomatic password"
Description :"set"

Cached IP: "N/A"....but nothing happens! :-(

error message on opnsense (dyndns)
Code: [Select]
opnsense: /services_dyndns_edit.php: Dynamic DNS: (Error) Hostname does not exist or does not have dynamic DNS enabled
Did i miss something?
Can someone help me?

regards
rené
Title: Re: Configure - DynDNS + Cloudflare + dnsomatic - Howto?
Post by: opnsenseuser on January 06, 2019, 08:35:45 pm
all tutorials i found say something different. nothing of these work.

https://support.opendns.com/hc/en-us/community/posts/115000937008-How-to-set-up-DNS-O-MATIC-for-Cloudflare-and-the-other-way-around-and-a-FritzBox (https://support.opendns.com/hc/en-us/community/posts/115000937008-How-to-set-up-DNS-O-MATIC-for-Cloudflare-and-the-other-way-around-and-a-FritzBox)

https://blog.awelswynol.co.uk/2018/01/cloudflare-and-dns-o-matic (https://blog.awelswynol.co.uk/2018/01/cloudflare-and-dns-o-matic)

https://support.cloudflare.com/hc/en-us/articles/360020524512-Manage-dynamic-IPs-in-Cloudflare-DNS-programmatically (https://support.cloudflare.com/hc/en-us/articles/360020524512-Manage-dynamic-IPs-in-Cloudflare-DNS-programmatically)
Title: Re: Configure - DynDNS + Cloudflare + dnsomatic - Howto?
Post by: opnsenseuser on January 20, 2019, 02:24:59 pm
I have found out that the description for the dyndns is wrong. Because it worked only if I do not specify the fqdn rather only the domain. The description is wrong and should be corrected!