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: