Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    DDNS with INWX.de in 2.1

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      MaxHeadroom
      last edited by

      Hi,

      inwx.de use a php api called domrobot.class with xmlrpc.
      I tried to add this provider but failed with 
      Fatal error: Call to undefined function xmlrpc_encode_request() in /etc/inc/domrobot.class on line 124
      Is there a possibility to add xmlrpc in pfsense and if yes how ?

      regards max

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        We use XMLRPC already in pfSense, but it may be a different XMLRPC client/library than they expect.

        I would be extremely careful touching anything in that area, as it's quite possible you'll end up causing some pretty major damage if something you add changes functions that the system expects to behave one way and suddenly they behave differently.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • M Offline
          MaxHeadroom
          last edited by

          Hi,
          thanks for the answer;
          i found a solution to update the  nameserver for the host only with curl and a xml file.
          May be someone can help me to add this provider into pfsense in the right way.

          To find out the id from the host entry it is possible to send a "query" to the provider and get back an xml with members/values  and on is the right one …or over webif you are able to see the id.
          How do i parse the income xml on pfsense for the required info like id or status code; look like the xml file i post.

          here a example to change the ip

          curl -X POST -d @xml https://api.domrobot.com/xmlrpc/

          <methodcall><methodname>nameserver.recordUpdate</methodname>
            <params><param>
                  <value><struct><member><name>user</name>
                            <value><string>%YOURUSERNAME%</string></value></member>
                        <member><name>pass</name>
                            <value><string>%YOURPASSWORD%</string></value></member>
                        <member><name>id</name>
                            <value><string>%IdOfTheHostEntry%</string></value></member>
                        <member><name>ttl</name>
                            <value><string>3600</string></value></member>
                        <member><name>content</name>
                            <value><string>%WanIP%</string></value></member></struct></value></params></methodcall>

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.