Dreamhost Dynamic DNS update script



  • All,

    Is there a way to update Dreamhost records with pfsense when my public IP changes?  I don't see any options for dreamhost in 2.2 Beta.

    A couple things I've found with searches are:

    https://forum.pfsense.org/index.php?topic=78446.0      (Not sure how to implement with Dreamhost)

    http://wiki.dreamhost.com/Dynamic_DNS#Dynamic_DNS_via_local_shell_script    (Not sure how to implement with pfsense)

    The problem is, I don't know weather these solutions will work let alone how to implement them.

    Thanks in advance!
    -V

    EDIT: will RFC 2136 work?



  • Ok, after a bit more research I have an idea.  It appears the PHP script might integrate into pfsense.  If so, all that would be needed is a button added to the menu or on a page to run the script manually.  Lastly, a simple script could be added to run the php script every hour or so.

    What do you think?


  • Rebel Alliance Global Moderator

    wouldn't this work with the custom or selfhost options?  https://github.com/ianloic/dreamhost-ddns

    I have couple domains on dreamhost - when I find few minutes will give it a test go.



  • Thanks for the response!  I'm not sure how to integrate that script and force pfsense to run it at a regular interval.  Any ideas?  I'm honestly not much of a programmer.  I can effect some changes to code if well documented, but this is not…



  • Sorry for bumping an old thread, but I'm having a hard time finding documentation on how to set up ddns on a hostname (a subdomain to be more specific) hosted at Dreamhost.  I found that script you link to but couldn't seem to get it working.  @johnpoz Did you ever get it to work?



  • Current pFsense 2.4.3 has DDNS setting for Dreamhost, that doesn't work for you?



  • @SammyWoo:

    Current pFsense 2.4.3 has DDNS setting for Dreamhost, that doesn't work for you?

    Yeah I tried it out but it didn't work.  However, there could've been any number of points of failure. I was hoping there was a tutorial or something.  I've enabled Verbose logging but I haven't had time yet to pull the logs (mostly to figure out HOW to do that).  The issue could very feasibly be on the Dreamhost side as well.  As you can tell I have no experience with this:)

    edit: Honestly, i'm guessing perhaps my issue is configuration on the domain side.  What do I do with Dreamhost?  Do I fully host it?  Do I need mx or a record settings?



  • Agh! I can't believe I didn't bookend this thread. So sorry community! Somebody was nice enough to help me out on the Dreamhost forum here: https://discussion.dreamhost.com/t/subdomain-ddns-with-pfsense/67249/4

    Essentially: you create an API key in your Dreamhost admin panel then use it as your password in the PFSense interface. Full instructions are in that link...