Allow DNS-O-Matic to update multiple services with a single request

Comments

5 comments

  • Avatar
    rotblitz

    Well, if you have read the DNS-O-Matic API, you had found the following:

    Users will also enter a list of hostnames (FQDNs) to be updated.

    And further:

    This field is also used for services that use different names for the unique identifier of the target being updated (ex. freedns.afraid.org, TZO). DNS-O-Matic will format the update string appropriately for each supported service at distribution.

    As this API is based on Dyn's API, I would think that the comma separated list is supported already.  Did it fail when you tried with the list, or why else do you raise this idea here?

  • Avatar
    Eric Nemchik (Edited )

    Trying this on an Asus RT-ACRH13 with comma separated values does not work.

     

    Edit: I am trying to update an OpenDNS label, as well as an FQDN with CloudFlare. I can update both of these individually, but not at the same time.

     

    Another Edit: I am able to successfully update two services if they both have the same name. For example if my FQDN starts with 'home' and my OpenDNS label is also 'home' then I can enter 'home' into the router settings (as if to only be updating one service) and it works to update both. This however does not really resolve the issue because the services needing update might not always have the same name.

  • Avatar
    rotblitz

    "Trying this on an Asus RT-ACRH13 with comma separated values does not work."

    This could be a problem of the router.  Many built-in DDNS update clients on routers do not support comma separated lists of hostnames, just single hostnames or maybe none.

    Instead of trying this on the router, try it with a web browser on a computer, like:

    https://updates.dnsomatic.com/nic/update?hostname=home,home.example.org,xyz.cloudflare.net

    This gives you a faster and better understanding of what is possible and what not.  And then you replicate the solution onto your router.

    If there are inconsistencies or other issues with DNS-O-Matic when testing with the browser, you would have to raise a support ticket with OpenDNS.  Any more detailed help is certainly beyond the scope of us other users...

    If it works with the browser but not on the router, then it is clearly a router problem, and you would have to refer to Asus support or a Asus or router related forum only.  OpenDNS and we users cannot help then.

  • Avatar
    slipp3ry (Edited )

    Just tried via curl using the following string and it always returns "nohost": am I doing something wrong?

    As stated by @Eric, the API return no error if updating one service at a time. If it's a "bug" is there any way to file an enhancement request?

    $ curl -iSL -u 'my@user.name' 'https://updates.dnsomatic.com/nic/update?hostname=Service1,Service2'
    Enter host password for user 'my@user.name':
    HTTP/1.1 200 OK
    Server: nginx
    Date: Sat, 29 Jul 2017 21:15:20 GMT
    Content-Type: text/html; charset=UTF-8
    Content-Length: 6
    Connection: keep-alive
    Accept-Ranges: bytes
    X-Varnish: 964300504
    Age: 0
    Via: 1.1 varnish
    X-XSS-Protection: 1; mode=block

    nohost

    One service at a time:

    curl -iSL -u 'my@user.name' 'https://updates.dnsomatic.com/nic/update?hostname=Service1'
    Enter host password for user 'my@user.name':
    HTTP/1.1 200 OK
    Server: nginx
    Date: Sat, 29 Jul 2017 21:07:11 GMT
    Content-Type: text/html; charset=UTF-8
    Content-Length: 19
    Connection: keep-alive
    Accept-Ranges: bytes
    X-Varnish: 963715691
    Age: 0
    Via: 1.1 varnish
    X-XSS-Protection: 1; mode=block

    good ww.xx.yy.zz

     

  • Avatar
    rotblitz

    Copying from above:

    If there are inconsistencies or other issues with DNS-O-Matic when testing with the browser, you would have to raise a support ticket with OpenDNS. Any more detailed help is certainly beyond the scope of us other users...

Please sign in to leave a comment.