[Ddclient-support] ddclient with Apple Airport Extreme
Brought to you by:
supersandro2000,
wimpunk
From: JD S. <2jd...@ea...> - 2017-04-12 20:40:01
|
Using latest version of ddclient downloaded from Sourceforge.net My DNS is managed at dyndns.com, I ran their config file generator which produced the following file: ## ddclient configuration file daemon=600 # check every 600 seconds syslog=yes # log update msgs to syslog mail-failure=2jd...@ea... # Mail failed updates to user pid=/var/run/ddclient.pid # record PID in file. ## Detect IP with our CheckIP server use=web, web=checkip.dyndns.com/, web-skip='IP Address' ## DynDNS username and password here login=I HAVE HIDDEN FOR THIS EXAMPLE password=I HAVE HIDDEN FOR THIS EXAMPLE ## Default options protocol=dyndns2 server=members.dyndns.org ## Dyn Standard DNS hosts custom=yes, cosworthvega.com ## Apple Airport Router IP use fw, fw=192.168.1.1 Note: best I could tell from docs... I added the previous line to get info The Apple Airport Extreme DOES NOT have a web interface. You manage it by Apple proprietary AirPort Utility. --------------------------------- From the ddclient download distributeion, README.md I then ran: [root@www ddclient]# ddclient -daemon=0 -query use=if, if=eno1 address is 192.168.1.90 use=if, if=lo address is 127.0.0.1 use=if, if=virbr0 address is 192.168.122.1 use=if, if=virbr0-nic address is NOT FOUND use=web, web=dnspark address is 208.118.20.149 use=web, web=dyndns address is 208.118.20.149 use=web, web=loopia address is 208.118.20.149 use=web, web=checkip.dyndns.com/ address is 208.118.20.149 ------------------------------------------------- A bit later I received email as follows: CONNECT: checkip.dyndns.com CONNECTED: using HTTP SENDING: GET / HTTP/1.0 SENDING: Host: checkip.dyndns.com SENDING: User-Agent: ddclient/3.8.3 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: 208.118.20.149</body></html> SUCCESS: cosworthvega.com: skipped: IP address was already set to 208.118.20.149. INFO: forcing updating use because no cached entry exists. INFO: setting IP address to 208.118.20.149 for use UPDATE: updating use CONNECT: members.dyndns.org CONNECTED: using HTTP SENDING: GET /nic/update?system=dyndns&hostname=use&myip=208.118.20.149 HTTP/1.0 SENDING: Host: members.dyndns.org SENDING: Authorization: Basic ZncsZnc9MTkyLjE2OC4xLjE6NzVibGFja2Nhcjc2 SENDING: User-Agent: ddclient/3.8.3 SENDING: Connection: close SENDING: RECEIVE: HTTP/1.1 200 OK RECEIVE: Date: Wed, 12 Apr 2017 20:22:43 GMT RECEIVE: Server: Apache RECEIVE: X-UpdateCode: X RECEIVE: Content-Length: 7 RECEIVE: Connection: close RECEIVE: RECEIVE: notfqdn FAILED: updating use: notfqdn: A Fully-Qualified Domain Name was not provided ====================== So, is is or is it not working? Thanks! JD |