Wimpunk,
I guess it would have helped if I included the version I am using
:-P I am using
ddclient-3.7.3-1.el5.rf.noarch.rpm<http://dag.wieers.com/rpm/packages/ddclient/ddclient-3.7.3-1.el5.rf.noarch.rpm>from
rpmforge, which is not the latest. I will try the latest version
(3.8)
and let everyone know if it worked or not.
Cheers,
Vijay
On Fri, Jun 26, 2009 at 9:33 AM, wimpunk <wi...@us...>wrote:
> Vijay Avarachen wrote:
> > Has anyone gotten ddclient to register internal and external ip for
> Amazon
> > Web Services (aws) instance?
> >
> > I can easily access the internal IP address by doing:
> >
> > use=if,if=eth0
> >
> > and I can access the external IP address by doing:
> > use=cmd,cmd='curl -k -s
> http://169.254.169.254/latest/meta-data/public-ipv4'
> >
> > However, when I configure my ddclient to update my dyndns account, it
> > applies the same IP for both records.
> >
> > daemon=300
> > syslog=yes
> > pid=/var/run/ddclient.pid
> >
> > #Internal
> > use=if,if=eth0
> > login=username
> > password=secret
> > protocol=dyndns2
> > server=members.dyndns.org
> > host-int.gotdns.com
> >
> > #External
> > use=cmd
> > cmd='curl -k -s http://169.254.169.254/latest/meta-data/public-ipv4'
> > login=username
> > password=secret
> > protocol=dyndns2
> > server=members.dyndns.org
> > host-ext.gotdns.com
> >
> > Can someone please tell me how can I use the same dyndns acount and
> update
> > two records with two different IP's?
> >
> > Thanks,
> > Vijay
>
> It should work if you use the most recent version of ddclient which has
> the possibility of updating 2 ip addresses. I must admit I never used
> that feature but there are some reports on correct functioning. Search
> the forum on how to use it.
>
> Kind regards,
>
> wimpunk.
>
--
"Knowledge is the only wealth that grows as you spend it, and diminishes as
you save it."
-- ancient Sanskrit saying
|