Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5592953
By: lostsole
hello.
I was unsure what you meant by "configure a second ddclient configuration which
you run as a postscript."
i disabled ddclient from starting up at boot and was going to have cron run
my two ddclient.conf files at the needed intervals.
and made two ddclient.conf scripts. (ddclient-mydomain1.conf
& ddclient-mydomain2.com) and removed the daemon=600 from both.
Both of my .conf files look like this.
# /etc/ddclient.conf
syslog=yes
pid=/var/run/ddclient.pid
use=web, web=checkip.dyndns.org, web-skip='IP Address'
protocol=namecheap
server=dynamicdns.park-your-domain.com
login=xxxxxxxxxxxxxx
password='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
www
I ran
$ ddclient -file /etc/ddclient-mydomain1.conf
and it worked just like it should, my first domain was updated.
next i ran
ddclient -file /etc/ddclient-mydomain2.conf
and i got an error so i ran it again with -debug -verbose
It looks like maybe ddclient doesn't want to update the second domain because
it knows that its already updated once at the current IP?
If I am correct, is there a was around this?
thankyou
ddclient -debug -verbose -file /etc/ddclient-ccbookswap.conf
=== opt ====
opt{cache} : <undefined>
opt{cmd} : <undefined>
opt{cmd-skip} : <undefined>
opt{daemon} : <undefined>
opt{debug} : 1
opt{exec} : <undefined>
opt{facility} : <undefined>
opt{file} : /etc/ddclient-ccbookswap.conf
opt{force} : <undefined>
opt{fw} : <undefined>
opt{fw-login} : <undefined>
opt{fw-password} : <undefined>
opt{fw-skip} : <undefined>
opt{geturl} : <undefined>
opt{help} : <undefined>
opt{host} : <undefined>
opt{if} : <undefined>
opt{if-skip} : <undefined>
opt{ip} : <undefined>
opt{login} : <undefined>
opt{mail} : <undefined>
opt{mail-failure} : <undefined>
opt{max-interval} : 2592000
opt{min-error-interval} : 300
opt{min-interval} : 30
opt{options} : <undefined>
opt{password} : <undefined>
opt{pid} : <undefined>
opt{priority} : <undefined>
opt{protocol} : <undefined>
opt{proxy} : <undefined>
opt{query} : <undefined>
opt{quiet} : 0
opt{retry} : <undefined>
opt{server} : <undefined>
opt{ssl} : <undefined>
opt{syslog} : <undefined>
opt{test} : <undefined>
opt{timeout} : <undefined>
opt{use} : <undefined>
opt{verbose} : 1
opt{web} : <undefined>
opt{web-skip} : <undefined>
=== globals ====
globals{debug} : 1
globals{file} : /etc/ddclient-ccbookswap.conf
globals{login} : ccbookswap.org
globals{password} : xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
globals{pid} : /var/run/ddclient.pid
globals{protocol} : namecheap
globals{quiet} : 0
globals{server} : dynamicdns.park-your-domain.com
globals{syslog} : 1
globals{use} : web
globals{verbose} : 1
globals{web} : checkip.dyndns.org
globals{web-skip} : IP Address
=== config ====
config{www}{atime} : 1226021575
config{www}{cacheable} : ARRAY(0x83f22ec)
config{www}{host} : www
config{www}{ip} : 71.34.154.201
config{www}{login} : ccbookswap.org
config{www}{max-interval} : 2592000
config{www}{min-error-interval} : 300
config{www}{min-interval} : 300
config{www}{mtime} : 1226021575
config{www}{password} : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
config{www}{protocol} : namecheap
config{www}{server} : dynamicdns.park-your-domain.com
config{www}{status} : good
config{www}{warned-min-error-interval} : 0
config{www}{warned-min-interval} : 0
config{www}{wtime} : 30
=== cache ====
cache{70.59.198.99}{atime} : 1225315554
cache{70.59.198.99}{host} : 70.59.198.99
cache{70.59.198.99}{mtime} : 0
cache{70.59.198.99}{status} : failed
cache{70.59.198.99}{warned-min-error-interval} : 0
cache{70.59.198.99}{warned-min-interval} : 0
cache{70.59.198.99}{wtime} : 30
cache{@}{atime} : 1225315688
cache{@}{host} : @
cache{@}{mtime} : 0
cache{@}{status} : failed
cache{@}{warned-min-error-interval} : 1225315791
cache{@}{warned-min-interval} : 0
cache{@}{wtime} : 30
cache{hermitshouse.com}{atime} : 1225314995
cache{hermitshouse.com}{host} : hermitshouse.com
cache{hermitshouse.com}{mtime} : 0
cache{hermitshouse.com}{status} : failed
cache{hermitshouse.com}{warned-min-error-interval} : 0
cache{hermitshouse.com}{warned-min-interval} : 0
cache{hermitshouse.com}{wtime} : 30
cache{neon}{atime} : 1225314324
cache{neon}{host} : neon
cache{neon}{ip} : 70.59.198.99
cache{neon}{mtime} : 1225074730
cache{neon}{status} : failed
cache{neon}{warned-min-error-interval} : 0
cache{neon}{warned-min-interval} : 0
cache{neon}{wtime} : 30
cache{sub}{atime} : 1225316586
cache{sub}{host} : sub
cache{sub}{ip} : 70.59.209.79
cache{sub}{mtime} : 1225316586
cache{sub}{status} : good
cache{sub}{warned-min-error-interval} : 0
cache{sub}{warned-min-interval} : 0
cache{sub}{wtime} : 30
cache{www}{atime} : 1226021575
cache{www}{host} : www
cache{www}{ip} : 71.34.154.201
cache{www}{mtime} : 1226021575
cache{www}{status} : good
cache{www}{warned-min-error-interval} : 0
cache{www}{warned-min-interval} : 0
cache{www}{wtime} : 30
DEBUG: proxy =
DEBUG: url = checkip.dyndns.org
DEBUG: server = checkip.dyndns.org
CONNECT: checkip.dyndns.org
CONNECTED: using HTTP
SENDING: GET / HTTP/1.0
SENDING: Host: checkip.dyndns.org
SENDING: User-Agent: ddclient/3.7.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: 105
RECEIVE:
RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP
Address: 71.34.154.201</body></html>
DEBUG: get_ip: using web, checkip.dyndns.org reports 71.34.154.201
Use of uninitialized value in string ne at /usr/sbin/ddclient line 1973.
Use of uninitialized value in string ne at /usr/sbin/ddclient line 1973.
Use of uninitialized value in string ne at /usr/sbin/ddclient line 1973.
Use of uninitialized value in string ne at /usr/sbin/ddclient line 1973.
Use of uninitialized value in string ne at /usr/sbin/ddclient line 1973.
Use of uninitialized value in string ne at /usr/sbin/ddclient line 1973.
Use of uninitialized value in string ne at /usr/sbin/ddclient line 1973.
Use of uninitialized value in string ne at /usr/sbin/ddclient line 1973.
SUCCESS: www: skipped: IP address was already set to 71.34.154.201.
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=399428
|