[solved] Possible bug in dyndns service?

vyos-1-2

#1

Hi,

when I set the “use-web” option on the DynDNS update service (as I am behind a NAT router), it gets ignored by ddclient:

“set service dns dynamic interface eth0 use-web url ‘https://ipinfo.io/ip’”

It works when I manually set the following in /etc/ddclient.conf:

“use=web, web=https://ipinfo.io/ip”

However, this is not persistent after a system reboot. Does anyone else experience this behaviour? Am I doing someting wrong? Or might this be a bug?


#2

Unfortunately, the issue persists. Here are some details:

set service dns dynamic interface eth0 service noip host-name [redacted]
set service dns dynamic interface eth0 service noip login ‘[redacted]’
set service dns dynamic interface eth0 service noip password ‘[redacted]’
set service dns dynamic interface eth0 service noip server ‘dynupdate.no-ip.com
set service dns dynamic interface eth0 use-web url ‘https://ipinfo.io/ip

sudo cat /etc/ddclient.conf

Autogenerated by dynamic_dns.py

daemon=1m
syslog=yes
ssl=yes
pid=/var/run/ddclient/ddclient.pid
cache=/var/cache/ddclient/ddclient.cache

ddclient configuration for interface “eth0”:

use=if, if=eth0

DynDNS provider configuration for [redacted]

protocol=noip
max-interval=28d
login=[redacted]
password=’[redacted]’
server=dynupdate.no-ip.com
[redacted]

sh dns dynamic st

ip address : 192.168.0.66
host-name : [redacted]
last update : 2018-11-08 19:03:42
update-status: good

With a manually edited /etc/ddclient.conf:

sudo cat /etc/ddclient.conf

Autogenerated by dynamic_dns.py

daemon=1m
syslog=yes
ssl=yes
pid=/var/run/ddclient/ddclient.pid
cache=/var/cache/ddclient/ddclient.cache

ddclient configuration for interface “eth0”:

use=if, if=eth0
use=web, web=https://ipinfo.io/ip

DynDNS provider configuration for [redacted]

protocol=noip
max-interval=28d
login=[redacted]
password=’[redacted]’
server=dynupdate.no-ip.com
[redacted]

sh dns dynamic st

ip address : [redacted correct WAN address]
host-name : [redacted]
last update : 2018-11-08 19:08:59
update-status: good


#4

Thanks for the detailed report/description.

Bug report opened: https://phabricator.vyos.net/T998


#5

A retest with the latest rolling image or next RC is appreciated.


#6

Thanks a lot!
I will retest with the upcoming RC and share my results.


#7

I can confirm that 1.2.0-rc7 solves the issue for me. Thanks a lot!


#8

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.