Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
Fast DynamicDNS updates if OPNSense behind other router? [solved: works oob]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Fast DynamicDNS updates if OPNSense behind other router? [solved: works oob] (Read 7915 times)
nibblerrick
Newbie
Posts: 16
Karma: 3
Fast DynamicDNS updates if OPNSense behind other router? [solved: works oob]
«
on:
July 27, 2017, 05:29:00 pm »
Hi!
My problem is, I have a router which I have to use (Speedport Hybrid) so OPNSense is behind this router. I can't get a static public IP.
So at the moment DynanimcDNS-check works either with the default interval or a cronjob which can be defined to check e.g. every minute.
I think checking is done with the dyndns-service which is hardcoded. As far as I read they'll block you if you don't have >10min intervals.
So question is, is there anything possible (don't has to be GUI-configurable) to get OPNSense notice an IP-change?
Other methods than check X minutes eventually? Having an open connection to anywhere and recheck when it drops? I really have no idea atm, so I am asking.
10 Minutes doesn't sound so much but if you want e.g. a VPN connected this ten minutes it takes to get the update will everytime be the moment you need it, you know what I mean... :-)
«
Last Edit: August 23, 2017, 04:29:51 pm by nibblerrick
»
Logged
bartjsmit
Hero Member
Posts: 2014
Karma: 194
Re: Fast DynamicDNS updates if OPNSense behind other router?
«
Reply #1 on:
July 27, 2017, 11:09:30 pm »
Some posts would suggest that the Speedport Hybrid supports DynDNS. I think you should always run a dynamic DNS updater on the device that holds the public IP, since it will be the first to detect the change.
Bart...
Logged
nibblerrick
Newbie
Posts: 16
Karma: 3
Re: Fast DynamicDNS updates if OPNSense behind other router?
«
Reply #2 on:
July 28, 2017, 01:36:50 pm »
Thanks, yes, it does, but limited. They've done some improvements in the past, but it isn't like the options you get in OPNSense. And I had it sometimes not running reliable. So I try not to rely on the speedport and try to find out if there are other possibilities.
An approach might be to have a connection to somewhere open all the time and when it drops it should check IP change?
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Fast DynamicDNS updates if OPNSense behind other router?
«
Reply #3 on:
July 31, 2017, 08:41:12 am »
Hi there,
Normally, Gateway monitoring also provides re-invoke of DynDNS (and RFC 2136) in case the interface is back up and the IP has changed. Do you have Gateway monitoring activated? It's off by default.
Cheers,
Franco
Logged
nibblerrick
Newbie
Posts: 16
Karma: 3
Re: Fast DynamicDNS updates if OPNSense behind other router?
«
Reply #4 on:
August 02, 2017, 09:17:50 pm »
Ok, so this takes some days to test, because on the site where OPNSense is running I just got a static IP. On the site where I have the "problem" there is atm still some other sense running which I will migrate. Hope I can finish it this weekend (quite some stuff configured in the actual appliance and when migrating I like to clean up some things and try to get CARP running).
If the monitoring really re-inkoves the DynDNS that would just be great.
I'll let you know as soon as I migrated all the stuff. Thanks!
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Fast DynamicDNS updates if OPNSense behind other router?
«
Reply #5 on:
August 03, 2017, 07:42:59 am »
looking forward to you report
Logged
nibblerrick
Newbie
Posts: 16
Karma: 3
Re: Fast DynamicDNS updates if OPNSense behind other router?
«
Reply #6 on:
August 23, 2017, 04:28:57 pm »
After migrating all the stuff, getting multiWAN to work (seems with gatewaygroups and routing it bevahes a bit different than on pfSense actually) I monitored the process now for a while and it works really great!
Nothing more to say, it just works! Thanks!
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Fast DynamicDNS updates if OPNSense behind other router? [solved: works oob]
«
Reply #7 on:
August 23, 2017, 05:16:06 pm »
Cool, thanks for reporting back.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
Fast DynamicDNS updates if OPNSense behind other router? [solved: works oob]