mirror of
https://github.com/casjaysdevdocker/ddns
synced 2025-01-19 12:34:24 -05:00
103 lines
2.5 KiB
Plaintext
103 lines
2.5 KiB
Plaintext
|
######
|
||
|
#Domain REPLACE_DOMAIN is dynamic DNS
|
||
|
#
|
||
|
#DHCP REPLACE_IPV4_ADDRESS
|
||
|
|
||
|
|
||
|
key rndc-key {
|
||
|
algorithm hmac-md5;
|
||
|
secret REPLACE_WITH_RNDC_KEY;
|
||
|
}
|
||
|
|
||
|
zone REPLACE_DOMAIN {
|
||
|
primary 127.0.0.1;
|
||
|
key rndc-key;
|
||
|
}
|
||
|
|
||
|
zone in-addr.arpa. {
|
||
|
primary 127.0.0.1;
|
||
|
key rndc-key;
|
||
|
}
|
||
|
|
||
|
#option T150 code 150 = string;
|
||
|
#option wpad-url code 252 = text;
|
||
|
#option wpad-url "http://REPLACE_DOMAIN/wpad.dat ";
|
||
|
|
||
|
authoritative;
|
||
|
ddns-ttl 3600;
|
||
|
ddns-updates on;
|
||
|
ddns-update-style interim;
|
||
|
update-static-leases on;
|
||
|
update-conflict-detection off;
|
||
|
update-optimization on;
|
||
|
use-host-decl-names on;
|
||
|
ddns-domainname "REPLACE_DOMAIN";
|
||
|
ddns-rev-domainname "in-addr.arpa.";
|
||
|
allow client-updates;
|
||
|
allow unknown-clients;
|
||
|
allow booting ;
|
||
|
allow bootp ;
|
||
|
next-server REPLACE_IPV4_ADDRESS;
|
||
|
filename "linux.0";
|
||
|
max-lease-time 3600;
|
||
|
default-lease-time 3600;
|
||
|
dynamic-bootp-lease-length 3600;
|
||
|
|
||
|
subnet REPLACE_IPV4_SUBNET netmask REPLACE_IPV4_NETMASK {
|
||
|
dynamic-bootp-lease-length 3600;
|
||
|
option slp-directory-agent true REPLACE_IPV4_ADDRESS;
|
||
|
option log-servers REPLACE_IPV4_ADDRESS;
|
||
|
option time-servers REPLACE_IPV4_ADDRESS;
|
||
|
allow client-updates;
|
||
|
ddns-updates on;
|
||
|
update-conflict-detection off;
|
||
|
update-static-leases true;
|
||
|
option routers REPLACE_IPV4_GATEWAY;
|
||
|
option subnet-mask REPLACE_IPV4_NETMASK;
|
||
|
option nis-domain "REPLACE_DOMAIN";
|
||
|
option domain-name "REPLACE_DOMAIN";
|
||
|
option domain-search "REPLACE_DOMAIN";
|
||
|
option domain-name-servers REPLACE_IPV4_ADDRESS;
|
||
|
option time-offset -18000;
|
||
|
option ntp-servers REPLACE_IPV4_ADDRESS;
|
||
|
option netbios-name-servers REPLACE_IPV4_ADDRESS;
|
||
|
option netbios-node-type 8;
|
||
|
range dynamic-bootp REPLACE_IPV4_ADDR_START REPLACE_IPV4_ADDR_END;
|
||
|
default-lease-time 3600;
|
||
|
max-lease-time 3600;
|
||
|
authoritative;
|
||
|
allow unknown-clients;
|
||
|
allow booting;
|
||
|
allow bootp;
|
||
|
update-static-leases on;
|
||
|
next-server REPLACE_IPV4_ADDRESS;
|
||
|
filename "pxelinux.0";
|
||
|
}
|
||
|
|
||
|
option architecture-type code 93 = unsigned integer 16;
|
||
|
|
||
|
class "pxeclients" {
|
||
|
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
|
||
|
|
||
|
if option architecture-type = 0 {
|
||
|
filename "pxelinux.0";
|
||
|
} elsif option architecture-type = 9 {
|
||
|
filename "syslinux64.efi";
|
||
|
} elsif option architecture-type = 7 {
|
||
|
filename "syslinux64.efi";
|
||
|
} elsif option architecture-type = 6 {
|
||
|
filename "syslinux32.efi";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
## Begin Fixed Addresses ##
|
||
|
#Servers REPLACE_IPV4_ADDRESS
|
||
|
#################################################
|
||
|
|
||
|
# host ddns {
|
||
|
# hardware ethernet 52:54:00:8f:c5:cb;
|
||
|
# fixed-address REPLACE_IPV4_ADDRESS;
|
||
|
# ddns-hostname monitor;
|
||
|
# ddns-domainname "REPLACE_DOMAIN";
|
||
|
# }
|