Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Best way to run custom script on WAN IP address change?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Best way to run custom script on WAN IP address change? (Read 1550 times)
MadEagle
Newbie
Posts: 5
Karma: 0
Best way to run custom script on WAN IP address change?
«
on:
July 27, 2020, 01:47:34 pm »
Hi all,
I am just starting to use OPNSense and really like it. Almost everything I need works out of the box, there is just one thing missing my understanding.
When my WAN (PPPoE) IP address changes I would like to run a custom script to update my DNS. The custom option in the DynDNS plugin does not work for that so I wrote my own little shell script. I want to avoid having to run it every minute or so to check if the IP changed.
I looked into configd and the definded actions but couldn't figure it out how to configure this to run my script whenever the IP changes (boot, redial). Could somebody please point me in the right direction to do this?
Thank you, Steffen
Logged
daneel
Newbie
Posts: 1
Karma: 0
Re: Best way to run custom script on WAN IP address change?
«
Reply #1 on:
January 15, 2021, 01:16:01 pm »
Hi!
Have you managed to solve this?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Best way to run custom script on WAN IP address change?