Skip to content

shad0wuser/ddns_dhcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic DNS and DHCP (bind9 & isc-dhcp-server)

Copy/Modify the configuration files

apt update
apt install bind9 isc-dhcp-server git
git clone https://github.com/shad0wuser/ddns_dhcp.git

cp -r ddns_dhcp/dhcp /etc/
cp -r ddns_dhcp/bind /etc/

cp -r ddns_dhcp/etc/* /etc/

chown -R bind:bind /etc/bind

Generating the key to secure DNS / DHCP exchanges

Generate your secret key.

dnssec-keygen -a HMAC-MD5 -b 128 -r /dev/urandom -n USER DDNS_UPDATE

It will generate two key files. Just copy the key in Kddns_update.+157+57083.private and paste to secret case on ddns.key file.

The both files /etc/bind/ddns.key and /etc/dhcp/ddns.key must be identical.

Change configuration files, replace with your values and run

services bind9 restart
service isc-dhcp-server restart

About

Dynamic DNS and DHCP (bind9 & isc-dhcp-server)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published