-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC2136 not updating DNS when address changes #2752
Comments
Thank you for creating an issue. For more information about the policies for this repository, The easiest option to gain traction is to close this ticket and open a new one using one of our templates. |
UPDATE: Works fine though when |
UPDATE:
cmd: exit code: 1 The "syntax error" doesn't seem to make sense because the command works perfectly from the command prompt. Workarround: |
This issue has been automatically timed-out (after 180 days of inactivity). For more information about the policies for this repository, If someone wants to step up and work on this issue, |
When address changes everything seems to update locally as it should (wanip, cached ip, etc). But no update is sent to the DNS server. I know the DNS update works because RFC2136 Edit Save & Force Update sends the update as expected and DNS then resolves to the new address.
It appears as though mwexec_bg($cmd); on line 233 in /usr/local/etc/inc/plugins.inc.d/rfc2136.inc may be the culprit. Executing the resulting command in console shell or via the RFC2136 Edit Save & Force Update works. But if triggered by a newwanip it does not work.
How to reproduce. Get the lease to expire and obtain a new address.
Actual result: DNS record NOT updated.
Expected result: DNS record updated.
OPNsense 21.7.7 (amd64, LibreSSL)
The text was updated successfully, but these errors were encountered: