Chinaunix首页 | 论坛 | 博客
  • 博客访问: 213479
  • 博文数量: 69
  • 博客积分: 153
  • 博客等级: 入伍新兵
  • 技术积分: 595
  • 用 户 组: 普通用户
  • 注册时间: 2011-07-27 09:27
文章分类

全部博文(69)

文章存档

2012年(4)

2010年(13)

2009年(7)

2008年(45)

我的朋友

分类: LINUX

2008-08-14 15:58:53

Dynamic use of the domain name in 3322 to talk about some of the problems encountered (thank hefish)

Upon receiving the letter, total root, including "Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed. "

Client ez-update this is the problem, or something else?

How the message is not sent to ROOT Lane?

I add the parameter q (be quiet).
Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed.
Still

/etc/crontab Revised MAILTO=root Lane has been removed, nor : :

---------------------------------------------->>>>>>>>>>>>>>>

Solve the problem
Association received in the original root mailbox
-->
Not now have

Solving steps :

1, to download a packet ez-ipupdate FOSS


2, codecs, revise code
Tar xzvf ez-ipupdate-3.0.10.tgz
Cd ez-ipupdate-3.0.10

Vi conf_file.c
Add code
[code]
#include "Errno.h>;
[/code]

Vi ez-ipupdate.c
Find "no update needed at this time"
Zhushidiao several firms
[code]
4003rd else
//    {
4003rd fprintf (stderr, "no update needed at this time\n");
//    }
[/code]

3, editing, the installation
. /configure
Make
Make install

4, crontab amend the original order to add a parameter q (be quiet)

---------------------------------------------->>>>>>>>>>>>>>>

Report :

Greek Internet Dynamic DNS update agreement


Dynamic Internet domain names -- Greek relevant agreement
[code]
Client requests for the use of the above agreement HTTP/1.0, HTTP/1.0 Server bound to the corresponding

HTTP and SSL-based HTTPS support agreement

Business needs, Client sent at the request of integrity, and the corresponding analytical server and updated to ensure the success of the domain name

1. Authentication through URL (all in a row)
: password@members.3322.org/dyndns/update?system=dyndns&hostname=yourhost.ourdomain.ext&myip=ipaddress&wildcard=OFF
&mx=mail.exchanger.ext&backmx=NO&offline=NO

2. HTTP GET request
1) dyndns, statdns
GET /dyndns/update?system=statdns&hostname=yourhost.ourdomain.ext
&myip=ipaddress&wildcard=OFF&mx=mail.exchanger.ext&backmx=NO
&offline=NO HTTP/1.1
Host : members.3322.org
Authorization : Basic username:pass
(Note : username:pass must be encoded in Base64)
User-Agent : myclient/1.0 me@null.net

2) webhop
GET /dyndns/update?system=webhop&hostname=yourhost.ourdomain.ext&url=dest_url
&title=cloak_title&cloak=cloak HTTP/1.1
Host : members.3322.org
Authorization : Basic username:pass
(Note : username:pass must be encoded in Base64)
User-Agent : myclient/1.0 me@null.net

3) subdom
GET /dyndns/update?system=subdom&hostname=yourhost.ourdomain.ext&ip1=address1&ip2=address2 HTTP/1.1
Host : members.3322.org
Authorization : Basic username:pass
(Note : username:pass must be encoded in Base64)
User-Agent : myclient/1.0 me@null.net


Optional : No username:password System:All
User names and passwords used to download

Optional : Yes system=dyndns|statdns|webhop|subdom System:All
One can only use two or wrong. If there is no such parameter is the default dyndns
(Webhop, subdomain using web updating, and the user's own domain name (the custom mode 3322.org)
Can be grouped into four ways to present)

Optional : No hostname=host.3322.org System:All
The need to update the domain name

Optional : Yes myip=ipaddr System:All
IP domain name counterparts. If not specified, then the server will choose the best IP (IP client sends some Proxy.
This server will be detected). If the transmission format of the address wrong, then ignore this parameter, with the server testing
To the IP.

Wildcard=ON|OFF System:DynDNS, StatDNS Optional : Yes
Wildcard support, as measured by default. ON Italy for the same host.3322.org *.host.3322.org

Mx=mailexchanger System:DynDNS, StatDNS Optional : Yes
Mail eXchanger specified. Analysis of an IP must be able to otherwise be overlooked. If we do not provide the parameters or
Analysis of an IP can, mx records would be deleted.

Backmx=YES|NO System:DynDNS, StatDNS Optional : Yes
Mx specified parameters will be set up in front of the mail server back into that first mail sent to your machine, if
Unsuccessful, will be sent to a backup mail server.

Optional : Yes offline=YES|NO System:DynDNS
Failure to make temporary domain name.

Optional : No url=dest_url System:WebHop
Webhop at the URL

Optional : Yes cloak=YES|NO System:WebHop
Webhop specified time-frame is used to wrap up the shift of government payments are capped. Default is yes

Optional : Yes title=cloak_title System:WebHop
Cloak, the title frame. Default is "Bentium DynDns System"

Optional : yes ip1=address1 System:SubDom
A domain name server IP addresses, IP is correct. If not specified, then the server will choose the best IP
(Client IP sends some Proxy, which will be detected by the server). If the transmission format of the address wrong.
This parameter is ignored, and detected using IP server.

Optional : yes ip2=address2 System:SubDom
The second domain name server IP addresses, IP is correct
[/code]

Greek Internet domain dynamic return code updated



Dynamic Internet domain names -- Greek return codes explained
[code]
Pre-Update Errors
Badauth Bad authorization (username or password)
Badsys The system parameter given was not valid.
The useragent badagent sent your client access has been blocked at the
Level. Support of this return code is optional.

Update Complete
Update good good and successful, the updated IP
Nochg No changes, update considered abusive

Noschg behind will follow as good or update the IP addresses

Input Error Conditions
A Fully-Qualified Domain Name was not provided notfqdn
The hostname specified does not exist nohost
Nourl WebHop, neither URL
The setting was set !donator offline, when the user is not a donator.
This is only returned once
!yours The hostname specified exists, but not under the username
Currently being used
!active The Custom DNS hostname is in a specified domain which has not
Yet been activated
The hostname abuse support to contact 202 is blocked for abuse;
Be unblocked

Server Error Conditions
Too many or too few hosts found numhost
DNS error encountered dnserr

Wail Conditions
Wxxh Wail "xx" hours
Wxxm Wail "xx" minutes
Wxxs Wail "xx" seconds

Emergency Conditions
911 Shutdown until notified otherwise via status.shtm
[/code]

---------------------------------------------->>>>>>>>>>>>>>>

Formidable, but very dizzy

---------------------------------------------->>>>>>>>>>>>>>>

I have used this method have not received over letter :

Qdns-u-s-h nero.3322.org /usr/local/bin/ez-ipupdate -i ppp0 llzqq:password


If the information being given in this way will be :

/usr/local/bin/ez-ipupdate /usr/local/bin/qdns.conf Ones

---------------------------------------------->>>>>>>>>>>>>>>

Yes, I use the second method

But not now being given :)

---------------------------------------------->>>>>>>>>>>>>>>

My client is prepared by using perl. . . . Haha. . .

---------------------------------------------->>>>>>>>>>>>>>>

NIU!

How to share out stickers?

---------------------------------------------->>>>>>>>>>>>>>>

Xiaopeng client has written relatively poor. . .
For convenience's sake, I also wrote a simple. . . No error handling. . . .

[code]
Hefish@lylib:~$ cat 3322.pl
#!/usr/bin/perl

Require UserAgent; leaf : :

$user= "Username";
$pass= "Password";
$domain= "Domain.3322.org";


$url = "Http://www.info.gov.hk/tcu." $user. ": . " $pass. "\@members.3322.org/dyndns/update?system=dyndns&hostname=." $domain. "&wildcard=OFF";

: : = En UserAgent->;new; my $ua
$ua->;timeout (10);
$ua->;env_proxy;

My $response = $ua->;get ($url);

If ($response->;is_success) (
# Print or whatever $response->;content;
}
Else (
Die $response->;status_line;
}
[/code]

Laws username, password, domain can be used on the three parameters.

---------------------------------------------->>>>>>>>>>>>>>>

It is also a very understanding person wrote this mechanism ah 3322

Having said that, in fact BROWSER used directly to write one (or several) can argue URL

---------------------------------------------->>>>>>>>>>>>>>>

Originally, the 3322 Xiaopeng is very easy to achieve. . . .

Our powerdns+mysql can be achieved. . .

Java is used to write on their own or have a trip.

Java is used to write in 3322.

---------------------------------------------->>>>>>>>>>>>>>>

That is a good idea
We can do their secondary domain name agent to make a procedural framework for the database became a C/S

---------------------------------------------->>>>>>>>>>>>>>>

Scalar found where operator expected at XXX.pl line 7, near "$domain"
(Missing semicolon on previous line?)
XXX.pl syntax error at line 7, near "$domain"
Execution of xxx.pl aborted due to compilation errors.
This is what has gone wrong. . . .

---------------------------------------------->>>>>>>>>>>>>>>

$domain= "Domain.3322.org";
Right?

I have not used this

---------------------------------------------->>>>>>>>>>>>>>>

I use every day, no one missed out.

---------------------------------------------->>>>>>>>>>>>>>>

Huba DDNS with Linux installed on the client software will soon do.
==================
Huba DDNS Linux/Unix Client Software Download
Department Address :



Installation :
Huba DDNS access Linux/Unix Client software
#wget

Decompression Software
#tar Zxvf hubaddns.tar.gz

When the catalog put codecs copy到 /usr/local
#mv Hubaddns /usr/local

Contents entered /usr/local/hubaddns
#cd /usr/local/hubaddns

Huba DDNS installation Linux/Unix Client software
[root@ip58.com Hubaddns]#. /install
Hubaddnsd service does not support chkconfig
Hubaddnsd service does not support chkconfig
Configuration file name : /etc/hubaddns.conf
Hostname : love 4003rd Huba network applications in the dynamic input domain name server
Domain[ip58.com] : ip58.com 4003rd own domain name, 122 : ip58.com
Password : password 4003rd Huba network applications in each domain will have an independent and dynamic passwords
HuBaDDNS Client Install successful![root@ip58.com hubaddns]#

Huba DDNS initiated Linux/Unix Client software
[root@ip58.com Hubaddns]# /usr/local/hubaddns/hubaddnsd start

Stop this Huba DDNS Linux/Unix Client software
[root@ip58.com /usr/local/hubaddns/hubaddnsd Stop hubaddns]#

Huba DDNS restart Linux/Unix Client software
[root@ip58.com Hubaddns]# /usr/local/hubaddns/hubaddnsd restart

Huba DDNS operation can be switched to Linux/Unix Client software in /etc/rc.local please add the following line :
/etc/local/hubaddns/hubaddnsd Start

[root@ip58.com Hubaddns]# echo "/usr/local/hubaddns/hubaddnsd start," and ";>; /etc/rc.local

See update log :
[root@ip58.com Hubaddns]#tail-f /var/log/hubaddns.log

If the client's network update process, please contact QQ#:57758078, will be introduced recently.
Please mark the accession : Huba


Congress collections] [small] recommend the clock back --

---------------------------------------------->>>>>>>>>>>>>>>

-->

The sixth one less trip you. " , "And try.

---------------------------------------------->>>>>>>>>>>>>>>

Haha, I now take my DNS service for domain names on others, he has written a script to do automatic update, cool!

---------------------------------------------->>>>>>>>>>>>>>>

Do not quite understand, elaborate

---------------------------------------------->>>>>>>>>>>>>>>

I applied for an international domain name, but I have a dial-up, there is no static IP. And peanut shells and other dynamic IP domain of the independent analysis is to make money, so I put those people, their own domain name from the management of tens or hundreds of savings in 2001, you said identity!
阅读(1430) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~