Dynamic domain name configuration of kemai under Gentoo

Source: Internet
Author: User
The dynamic domain name configuration of kemai network under Gentoo-Linux Enterprise Application-Linux server application information. The following is a detailed description. Recently, my blog has been attacked by the Internet, so I am angry and want to use my own machine to stand up. I use ADSL to access the Internet. The IP address is dynamic and it is not convenient to think about what services I want. I think of dynamic domain names again. N I applied for it on the kemai website many years ago. Gentoo was not used at that time. I logged on to the website.

The application process is very simple. skip this step. The following describes other steps in Gentoo:

Download a linux client, download a compressed file, and decompress the downloaded file to/usr/local/bin.

Cd/usr/local/bin
Tar-xvzf linux_ I .tar.gz

Decompress the package and obtain an execution file pipclient. Run directly:

#./Pipclient

When you run pipclient for the first time, you are required to enter the configuration information: Enter the configuration information as prompted:

Input User name: the User name registered in kemai.
Input Password: the Password of a Komei user.
Input Domain: Domain name.
Input Offline URL or Offline IP (Enter for none): domain name Offline URL. If not, press Enter.

Note: The offline function is invalid for the kemai second-level domain name (such as abc.dns0755.net and abc.kmip.net.

Has another domain? (Y/N): If you want to resolve multiple domain names, press "Y" and enter the domain names and their offline URLs one by one. You can press "Ctrl + C" to exit.

If you want to modify the configuration later, run: $./pipclient-c

Set up the service script pipclient as follows:

#! /Sbin/runscript
# Copyright 1999-2007 Liu Qing
# Distributed under the terms of the GNU General Public License v2
# $ Header:/var/cvsroot/gentoo-x86/net-misc/ntp/files/ntp-client. rc, v 1.10 2007/02/23 11:26:26 uberlord Exp $

Depend (){
Before cron portmap
Need net
Use dns logger
}

Checkconfig (){
Return 0
}

Start (){

Ebegin "Start pip"
Nohup/usr/local/bin/pipclient-w/usr/local/bin &
Eend $? "Failed to start pipclient"
}

Start Service/etc/ini. d/pipclient start

You can add a startup Item # rc-update add pipclient

Notes

After the dynamic domain name is configured and run on the public network client, a clientid.txt file is recorded in the client software catalog. If the client software is to be copied to another machine for use, the clientid.txt file cannot be copied; otherwise, the client may be affected.

Dynamic domain name public network client software can add multiple domain names. If you use the dynamic resolution service for top-level/independent domain names, add domain names such as ***. com and www. ***. com.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.