The first post you mentioned outlines the process. The patch mentioned is no longer required, there is a system option for that setting.
If both ends are pfSense, it should be pretty straightforward. If the other end is some other vendor, you'll have to figure out a way to accomplish the same behavior (eg, on MikroTik RouterOS, I have configured some scripts which resolve the dynamic DNS hostnames and modify the config accordingly).
Just do it, and post your results ;)