Hello,
DDNS package does not allow for simple update requests via url. eg https://noip.at/domain/token. I cant run a simple script to do it as it will refuse to use my WAN but uses my VPN (all lan goes out via a vpn instead) so ip will be from the vpn. Obviously the 'custom' setting in the DDNS application always requires a pwd and login not a simple update url so that does not work either. Has anyone found a workaround for this? Thank you ![]()
Configure as custom as desired, then show your config as text.
Make a route for the destination to use WAN.
The solution is you have to make a route for the domain in the URL.
config service 'updatedns'
option service_name 'example update'
option use_ipv6 '0'
option enabled '1'
option lookup_host 'https://example.com/example43/example43'
option domain 'example.com'
option username ''
option password ''
option ip_source 'network'
option ip_network 'wan'
option interface 'wan'
option use_syslog '2'
option check_interval '5'
option check_unit 'minutes'
option force_interval '24'
option force_unit 'hours'
option retry_max_count '0'
option retry_interval '60'
option retry_unit 'seconds'
but I have tried this in every possible combination.....
from inside the script? how would that work?
No, under Network > Routing > IPv4 Routes
- locate the domain (e.g., ddns.example.com)
- perform an nslookup -
nslookup ddns.example.com - make a unicast route to WAN for the resulting IP (you'll need to specify the gateway IP)
(I don't know how you setup your VPN, otherwise I would advise configuring the VPN in this manner instead, so you don't have to specify a gateway.)
That looks fundamentally wrong.
Please see how the custom service should be configured:
there must be an easier way of doing this? where can I go to make a feature request for the DDNS application, its beyond me why this has not been implemented yet.
The guy staring back at you from the mirror is eager to do all the legwork for you.