Menu

Update IPv4 and IPv6 simultaneously (for nsupdate.info)

Help
2018-07-22
2019-11-04
  • Fo Tastisch

    Fo Tastisch - 2018-07-22

    Hi!

    I've tried everything I could think of so far, but somehow I am missing something (and I guess it's actually obvious, but it seems I'm kind of blind right now).

    I need to update both my IPv4 and IPv6 for the same domain and chose nsupdate.info for that. Updating only one of those IPs works like a charm (either IPv4 or IPv6), but when I try to update both, only the last IP in my ddclient.conf is updated. Do you have any hints what I have to do to update both IPs?

    I found solutions in case the different IPs are transmitted for different domains, but none of these worked in my setup.

    My ddclient.conf looks like this:

    Configuration file for ddclient generated by debconf

    /etc/ddclient.conf

    protocol=dyndns2
    use=web, web=https://ipv4.nsupdate.info/myip
    ssl=yes # yes = use https for updates
    server=ipv4.nsupdate.info
    login=subdomain.nerdpol.ovh
    password='secret'
    subdomain.nerdpol.ovh

    protocol=dyndns2
    usev6=if, if=eth0
    ssl=yes # yes = use https for updates
    server=ipv6.nsupdate.info
    login=subdomain.nerdpol.ovh
    password='secret'
    subdomain.nerdpol.ovh

    Thanks you a lot, I appreciate all hints that you can give me.

     
    • Twinkybot

      Twinkybot - 2019-10-30

      Did you find a solution. I have still this problem. I cannot update IPv4 and IPv6 in one config.
      I am using ddclien 3.83

      # Configuration file for ddclient generated by debconf
      #
      # /etc/ddclient.conf
      
      cache=/var/cache/ddclient/ddclient.cache
      pid=/var/run/ddclient/ddclient.pid
      syslog=yes
      ssl=yes
      protocol=dyndns2
      
      use=web
      server=<server>
      login='<user>'
      password='<pw>'
      my.domain.org
      
      usev6=if, if=enp2s0
      server=<server>
      login='<user>'
      password='<pw>'
      my.domain.org
      
       

      Last edit: Twinkybot 2019-10-30
  • wimpunk

    wimpunk - 2018-08-10

    I never tried it that way... so I'm afraid I can't help you.
    Did you tried to run ddclient in verbose mode?

     
  • Twinkybot

    Twinkybot - 2019-10-30

    The documentation is a bit confusing as the example do not match the definitions.

    e.g.

    Host definitions look like:
      [name=value [,name=value]*]* a.host.domain [,b.host.domain] [login] [password]
    
    For example:
      protocol=hammernode1, \
      login=my-hn-login, password=my-hn-password  myhost.hn.org
      login=my-login, password=my-password  myhost.dyndns.org,my2nd.dyndns.org
    
     
    • wimpunk

      wimpunk - 2019-11-04

      You better ask your question at https://github.com/ddclient/ddclient. There aren't much people watching the old discussion forums.

       
  • Twinkybot

    Twinkybot - 2019-10-30

    EDIT: duplicate post

     

    Last edit: Twinkybot 2019-10-30

Log in to post a comment.