Menu

Update IPv4 and IPv6 simultaneously (for nsupdate.info)

Help
2018-07-22
2020-01-12
  • 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.

     
    • Tag

      Tag - 2018-12-12

      Did you ever get this working? I am running into the same problem.

       
  • Tag

    Tag - 2018-12-12

    DELETED

     

    Last edit: Tag 2018-12-12
  • Michael Byczkowski

    Same problem here; it would be great if this were possible, thanks for your help!

     
  • Michael Byczkowski

    The ideal solution for me would be something like this:

    use=web, web='https://ipv4.nsupdate.info/myip' # for IPv4 from the web
    usev6=if, if=wlan0                             # plus IPv6 from wlan0 if connected
    usev6=if, if=eth0                              # overwrite IPv6 from wlan0 if eth0 is available
    
     

Log in to post a comment.