mirror of
https://github.com/nsupdate-info/nsupdate.info.git
synced 2026-04-25 08:35:56 +03:00
[GH-ISSUE #207] pfsense "result match" #184
Labels
No labels
bug
bug
duplicate
easy
easy
enhancement
enhancement
invalid
needs help
pull-request
scalability
security
task
urgent
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsupdate.info-nsupdate-info#184
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThomasWaldmann on GitHub (May 26, 2015).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/207
A user reported this about the example pfsense configuration we show after adding a new host:
"""
I use pfSense and had the "Result match" code copy-pasted to my pfSense configuration. However, in pfSense one must escape the vertical bar (i.e. |) with a backslash (i.e. ). I now added the "" and believe all is well now.
"""
Can somebody please comment on what is correct? I personally don't use pfsense and can't test it.
@ThomasWaldmann commented on GitHub (Dec 28, 2015):
as there was no feedback yet, I'll shift this to next milestone.
@lebeno commented on GitHub (Mar 27, 2016):
I have the same error and performed some tests. Still no success.
pfSense System logs when updating:
php-fpm[7041]: /services_dyndns_edit.php: phpDynDNS: (Error) Result did not match.I changed Result Match from
good|nochgtogood\|nochgbut same result.It looks like the dynamic update is registered at nsupdate.info, but the parsing of the result on pfSense fails.
@ThomasWaldmann commented on GitHub (Mar 27, 2016):
Did you also try "good|nochg"?
BTW, nsupdate.info returns standard return strings as specified by the dyndns "standard", so it should be not too hard to configure pfsense for it (assuming that it works in principle).
@lebeno commented on GitHub (Mar 28, 2016):
Yes, I tried
good|nochgand same result.good\nochgwas a typo in my comment.@ThomasWaldmann commented on GitHub (Mar 28, 2016):
maybe it tries to do a full match. the results looks like "good 1.2.3.4" or "nochg 1.2.3.4".
@lebeno commented on GitHub (Mar 29, 2016):
Looks like it is indeed necessary to do a full match, the actual Result Match string that works is
good %IP%|nochg %IP%Tested on pfSense 2.2.6-RELEASE. Got inspiration from this post: http://www.slicesofcomputer.com/2015/01/make-google-domains-dyndns-work-with.html
I suggest correcting the "Result String" in the pfSense section of nsupdate.info "How to configure automated dynamic DNS updates?".
@ThomasWaldmann commented on GitHub (Mar 30, 2016):
TODO: add working string to the configuration help it shows after adding a host.
@FreeMinded commented on GitHub (May 31, 2016):
Fixed with this commit https://github.com/nsupdate-info/nsupdate.info/pull/263