Construction of DDNS server and case solving method

Source: Internet
Author: User

DDNS principle: DNS + DHCP =ddns

DHCP is responsible for IP resolution, and is assigned to client IP,IP as a random number.

DNS is responsible for domain name resolution, a record of each IP corresponding domain name.

Client IP is definitely changing, it is not possible to always use an IP, so when the client's IP change, using the DDNS service, while notifying DNS of a record, so that he also synchronized updates, or other people to visit your domain name when you can not find this host.

Test environment: Established in the DNS encryption update configuration intact.

DHCP default install package is not able to start.

Valid lines for DHCP service profiles:

"Example. Com "This domain uses the DNS service domain, the server writes is also the DNS service IP, the service side must be fixed IP,

Note that the IP for fixed IP, if you open the graphics, you must turn off the Networkmanger, its impact is very large, even if you can not resolve the success of service.

Service side

First build the DHCP service:

Host These behaviors bind the mask address of the NIC:

To update a DNS server by using DHCP: the so-called DDNS service:

The premise is that DNS has been done to encrypt the update, generated key.

The following content can be obtained by using the man dhcp.conf input keyword key and then added under the DHCP service configuration file.

The following Westos key is a DNS-generated key,prinary 127.0.0.1 that allows native DHCP to update the DNS service.

DNS services must be updated with the key:

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.