1. 3322.org修改过的源码
http://www.3322.org/download/ez-ipupdate-3.0.10.tgz
2. conf_file.c时提示如下错误时,包含errno.h头文件可解决(37行处增加"#include <errno.h>").
/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in conf_file.o
/lib/libc.so.6: could not read symbols: Bad value
3. 如果要让域名解析到跟3322.org通信时看到的IP地址,ez-ipupdate.c文件1882行if(address != NULL)改为if(service->type != SERV_QDNS && address != NULL)
4. 调试命令行
wget -qO- --http-user=seven8seven8 --http-password=7eight7eight "http://www.3322.org/dyndns/update?system=dyndns&hostname=20107788.3322.org&myip=192.168.0.109"
wget -qO- --http-user=seven8seven8 --http-password=7eight7eight "http://www.3322.org/dyndns/update?system=dyndns&hostname=20107788.3322.org"
wget -qO- --http-user=seven8seven8 --http-password=7eight7eight "http://www.3322.org/dyndns/getip?system=dyndns&hostname=20107788.3322.org"
curl -u seven8seven8:7eight7eight -o- "http://www.3322.org/dyndns/update?system=dyndns&hostname=20107788.3322.org&myip=192.168.0.109"
curl -u seven8seven8:7eight7eight -o- "http://www.3322.org/dyndns/update?system=dyndns&hostname=20107788.3322.org"
curl -u seven8seven8:7eight7eight -o- "http://www.3322.org/dyndns/getip?system=dyndns&hostname=20107788.3322.org"