First and most importantly: Happy New Year !
I installed the DDNS-scripts on 18.06.
OpenWrt-Router is a DHCP client of a cable modem.
IP detection via Web is not working.
/etc/config/ddns:
config ddns 'global'
option ddns_dateformat '%F %R'
option ddns_loglines '250'
option upd_privateip '0'
config service 'goip'
option service_name 'goip.de'
option username 'XXXXXXXXXXX'
option password 'XXXXXXXXXXX'
option lookup_host 'xxxxx.goip.de'
option enabled '1'
option ip_source 'web'
option use_syslog '1'
option domain 'xxxxx.goip.de'
option interface 'lan'
option ip_network 'lan'
option check_interval '1'
option check_unit 'hours'
option ip_url 'http://checkip.amazonaws.com'
DDNS-LOG:
165755 : Detect registered/public IP
165755 : #> /usr/bin/nslookup xxxxx.goip.de >/var/run/ddns/goip.dat 2>/var/run/ddns/goip.err
165758 : Registered IP '179.xxx.xx.198' detected
165758 WARN : Updating IP at DDNS provider failed - starting retry 18/0
165759 : Detect local IP on 'web'
165800 : Local IP '192.168.1.1' detected on network 'lan'
165800 : Update needed - L: '192.168.1.1' <> R: '179.xxx.xx.198'
165801 ERROR : No or private or invalid IP '192.168.1.1' given! Please check your configuration
165802 ERROR : No update send to DDNS Provider
165803 : Waiting 3600 seconds (Check Interval)
uci show network:
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd0c:3a5a:c902::/48'
network.lan=interface
network.lan.type='bridge'
network.lan.ifname='eth0'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.lan.gateway='192.168.1.1'
network.wan=interface
network.wan.ifname='eth1'
network.wan.proto='dhcp'
network.wan.auto='0'
network.wan6=interface
network.wan6.ifname='eth1'
network.wan6.proto='dhcpv6'
network.wan6.auto='0'
network.Uplink=interface
network.Uplink.proto='static'
network.Uplink.ipaddr='192.168.0.11'
network.Uplink.netmask='255.255.255.0'
network.Uplink.gateway='192.168.0.1'
network.Uplink.broadcast='192.168.0.255'
network.Uplink.ip6assign='64'
network.Uplink.dns='8.8.8.8'
network.vpnclient=interface
network.vpnclient.ifname='tun0'
network.vpnclient.proto='none'
I think I can rule out a problem with goip.
Their update URL is working great through the browser.
I also tried alternative URLs for detecting the IP.
Big thank you to anyone willing to help.