• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Main Menu

Dynamic DNS

Started by dysonp, April 29, 2014, 06:13:35 AM

Previous topic - Next topic

dysonp

I have just set up a domain on he.net and am trying to get dynamic dns working.

I have set up the 'A' records and generated a key and installed ddclient on my mac os x server 10.9.2. ddclient is obtaining the correct dynamic IP address but in the console log it says:

29/04/2014 13:55:55.744 ddclient[18921][19343]: WARNING:   last updated <never> but last attempt on Tue Apr 29 13:55:38 2014 failed.


Please can someone confirm that I have the correct items in the ddclient.conf file. I have set the login as the name of the 'A' record and the password as the generated key and also specified the domain name in the config file as well. Is this correct?

Many thanks

Paul

dysonp

#1
After a few hours, I am making progress but it still is not working. I think I now have the ddclient.conf set up correctly as follows:

daemon=300
syslog=yes
cache=/var/cache/ddclient/ddclient.cache
pid=/var/run/ddclient.pid
use=web, web=dyndns
protocol=dyndns2
server=dyn.dns.he.net
login=www.xxxxxxxxx.com, password=password
data.xxxxxxxxx.com, home.xxxxxxxxx.com, cloud.xxxxxxxxx.com


But, the updates are still not working. This is the output from ddclient -force -verbose:

CONNECT:  checkip.dyndns.org
CONNECTED:  using HTTP
SENDING:  GET / HTTP/1.0
SENDING:   Host: checkip.dyndns.org
SENDING:   User-Agent: ddclient/3.8.2
SENDING:   Connection: close
SENDING:   
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  Content-Type: text/html
RECEIVE:  Server: DynDNS-CheckIP/1.0
RECEIVE:  Connection: close
RECEIVE:  Cache-Control: no-cache
RECEIVE:  Pragma: no-cache
RECEIVE:  Content-Length: 106
RECEIVE: 
RECEIVE:  <html><head><title>Current IP Check</title></head><body>Current IP Address: 1.2.3.4</body></html>
INFO:     forcing update of cloud.xxxxxxxxx.com.
INFO:     forcing update of data.xxxxxxxxx.com.
INFO:     forcing update of home.xxxxxxxxx.com.
INFO:     setting IP address to 1.2.3.4 for cloud.xxxxxxxxx.com,data.xxxxxxxxx.com,home.xxxxxxxxx.com
UPDATE:   updating cloud.xxxxxxxxx.com,data.xxxxxxxxx.com,home.xxxxxxxxx.com
CONNECT:  dyn.dns.he.net
CONNECTED:  using HTTP
SENDING:  GET /nic/update?system=dyndns&hostname=cloud.xxxxxxxxx.com,data.xxxxxxxxx.com,home.xxxxxxxxx.com&myip=1.2.3.4 HTTP/1.0
SENDING:   Host: dyn.dns.he.net
SENDING:   Authorization: Basic ....
SENDING:   User-Agent: ddclient/3.8.2
SENDING:   Connection: close
SENDING:   
RECEIVE:  HTTP/1.0 200 OK
RECEIVE:  Date: Tue, 29 Apr 2014 17:02:24 GMT
RECEIVE:  Server: dns.he.net v0.0.1
RECEIVE:  Email: DNS Administrator <dnsadmin@he.net>
RECEIVE:  Cache-Control: no-cache, must-revalidate
RECEIVE:  Expires: Wed, 29 Apr 2015 17:02:24 GMT
RECEIVE:  Content-Length: 5
RECEIVE:  Content-Type: text/html
RECEIVE: 
RECEIVE:  abuse
FAILED:   updating cloud.xxxxxxxxx.com: abuse: The hostname specified is blocked for abuse; you should receive an email notification which provides an unblock request link.  More info can be found on https://www.dyndns.com/support/abuse.html
server:ddclient-3.8.2 serveradmin$ sudo ddclient restart
Password:
server:ddclient-3.8.2 serveradmin$ sudo ddclient -force -verbose
CONNECT:  checkip.dyndns.org
CONNECTED:  using HTTP
SENDING:  GET / HTTP/1.0
SENDING:   Host: checkip.dyndns.org
SENDING:   User-Agent: ddclient/3.8.2
SENDING:   Connection: close
SENDING:   
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  Content-Type: text/html
RECEIVE:  Server: DynDNS-CheckIP/1.0
RECEIVE:  Connection: close
RECEIVE:  Cache-Control: no-cache
RECEIVE:  Pragma: no-cache
RECEIVE:  Content-Length: 106
RECEIVE: 
RECEIVE:  <html><head><title>Current IP Check</title></head><body>Current IP Address: 1.2.3.4</body></html>
INFO:     forcing update of data.xxxxxxxxx.com.
INFO:     forcing update of home.xxxxxxxxx.com.
INFO:     setting IP address to 1.2.3.4 for data.xxxxxxxxx.com,home.xxxxxxxxx.com
UPDATE:   updating data.xxxxxxxxx.com,home.xxxxxxxxx.com
CONNECT:  dyn.dns.he.net
CONNECTED:  using HTTP
SENDING:  GET /nic/update?system=dyndns&hostname=data.xxxxxxxxx.com,home.xxxxxxxxx.com&myip=1.2.3.4 HTTP/1.0
SENDING:   Host: dyn.dns.he.net
SENDING:   Authorization: Basic ...
SENDING:   User-Agent: ddclient/3.8.2
SENDING:   Connection: close
SENDING:   
RECEIVE:  HTTP/1.0 200 OK
RECEIVE:  Date: Tue, 29 Apr 2014 17:11:32 GMT
RECEIVE:  Server: dns.he.net v0.0.1
RECEIVE:  Email: DNS Administrator <dnsadmin@he.net>
RECEIVE:  Cache-Control: no-cache, must-revalidate
RECEIVE:  Expires: Wed, 29 Apr 2015 17:11:32 GMT
RECEIVE:  Content-Length: 5
RECEIVE:  Content-Type: text/html
RECEIVE: 
RECEIVE:  abuse
FAILED:   updating data.xxxxxxxxx.com: abuse: The hostname specified is blocked for abuse; you should receive an email notification which provides an unblock request link.  More info can be found on https://www.dyndns.com/support/abuse.html


Does anyone have any ideas how to get this working properly.

Many Thanks

Paul

PatrickDickey

Quote
RECEIVE:  abuse
FAILED:   updating data.xxxxxxxxx.com: abuse: The hostname specified is blocked for abuse; you should receive an email notification which provides an unblock request link.  More info can be found on https://www.dyndns.com/support/abuse.html

That tells me that dyndns is blocking you. Most likely it's because you were trying to update too many times in a short period. They should have sent you an email concerning it. I'd check the link they reference though for more information.

Since you munged your hostnames, I'm assuming there's one for each of them in the results.

Have a great day.:)
Patrick.

dysonp

Hi Patrick

Thank you for your response.

I gave up getting it to work and wrote my own script to check the dynamic ip address and update he.net servers.

Regards

Paul