Solved — Errors with afraid-dyndns in Goddard (Fedora 13)

Since I updated to the Fedora 13, I was getting error from the Dynamic DNS client for afraid. I was not getting enough time to fix this, so finally I decided to fix this in the night itself šŸ™‚

Problem:
On running

afraid-dyndns

I was getting the error:

Entity: line 100: parser error : Opening and ending tag mismatch: br line 99 and div

^
Entity: line 118: parser error : Entity \’copy\’ not defined
Ā© 2010 DomainTools, LLC All rights reserved.
^
Entity: line 121: parser error : AttValue: \” or \’ expected
/link/?id=4668\’;} return(true);\”>\"\"\"\"

So here is the solution :

On further investigation I found that the issue was not with the afraid server but with getting the external IP. So I decided to use my own site to get the IP. And changed the following in the afraid-dyndns file:

Comment out the following code:

#$xml = get(\”http://ip-address.domaintools.com/myip.xml\”);
#die \”Failed fetching IP address!\” unless $xml;
#echo (\”Got IP:\”. $xml);

#$o = XMLin($xml);
#$extip = $o->{proxy_ip}; # external address

And add the following line just below the just commented lines:

$extip = get(\”http://amit-agarwal.co.in/mystuff/getip_txt.php\”);
$extip =~ s/\\n//;

This change be sufficient to get you going again.. šŸ™‚

\"Reblog

4 thoughts on “Solved — Errors with afraid-dyndns in Goddard (Fedora 13)”