Updated, but the internal network address is registered Updated, but the internal...

Topic: Updated, but the internal network address is registered

Post Updated, but the internal network address is registered
by Neuwork Netral on Wednesday, December 30, 2015

Good morning,

I saw this behavior and I think something is wrong. Ddclient updated successfully the ip, but when I try to access from outside, the lookup give me the internal ip address :/
Plz, give me a hand on this.

ddclient version 3.8.1

Data:
From syslog:
ddclient[3399]: SUCCESS: fpnvr.dynu.com: skipped: IP address was already set to 179.235.160.251.

My ddclient.conf
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf

daemon=60 # Check every 60 seconds.
syslog=yes # Log update msgs to syslog.
mail=root # Mail all msgs to root.
mail-failure=root # Mail failed update msgs to root.
pid=/var/run/ddclient.pid # Record PID in file.
# Exchanged because of " WARNING: cannot connect to checkip.dynu.com:80 socket: IO::Socket::INET: Bad hostname 'checkip.dynu.com'"
#use=web, web=checkip.dynu.com/, web-skip='IP Address' # Get ip from server.

#New one (script at end)
use=cmd, cmd=/root/bin/checkip.sh, cmd-skip='IP Address' # found after IP Address

protocol=dyndns2
server=api.dynu.com
login=neuworknetral
password='passhidden :)'
fpnvr.dynu.com

### checkip.sh script (just a curl call)
#!/bin/sh
#
#script to fill in for what ddclient
# can't seem to do: reliably connect to checkip.dyndns.org.
curl http://checkip.dyndns.org/

Reply with quote | Report
Post Re: Updated, but the internal network address is registered
by timothytw on Tuesday, January 5, 2016

Could you please change checkip.dynu.com to checkip.dynu.com:8245? It is possible that your ISP blocks outbound access to this website.

Please uncomment the following line to detect external IP address:

#use=web, web=checkip.dynu.com/, web-skip='IP Address' # Get ip from server.

Please comment the following line to disallow detection of local IP address:

use=cmd, cmd=/root/bin/checkip.sh, cmd-skip='IP Address' # found after IP Address

Reply with quote | Report
Friday, December 6, 2024 11:22 PM
Loading...