1
0
ketr.services/dns/etc/dhcp/dhcpd.conf
James Ketrenos 592f54f809 DNS working correctly, and restructured directories
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2023-10-10 13:41:40 -07:00

122 lines
2.3 KiB
ISCdhcpd

# dhcpd.conf
ddns-update-style interim;
ddns-domainname "ketrenos.com.";
ddns-updates on;
#ignore-client-updates;
update-optimization off;
# option definitions common to all supported networks...
option domain-name "ketrenos.com";
# ketrenos.com";
option domain-name-servers 192.168.1.78;
default-lease-time 21600;
max-lease-time 43200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
include "/etc/dhcp/ddns.key";
subnet 192.168.3.0 netmask 255.255.255.0 {
}
# Ignore docker interface
subnet 172.0.0.0 netmask 255.0.0.0 {
}
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.64 192.168.1.254;
option routers 192.168.1.10;
option broadcast-address 192.168.1.255;
default-lease-time 7200;
max-lease-time 7200;
zone ketrenos.com. {
primary 127.0.0.1;
key ketrenos.com.;
}
zone ketrenos.net. {
primary 127.0.0.1;
key ketrenos.com.;
}
zone 1.168.192.in-addr.arpa. {
primary 127.0.0.1;
key ketrenos.com.;
}
}
group {
host azurite {
hardware ethernet 00:a0:c9:ca:30:71;
ddns-hostname azurite;
fixed-address 192.168.1.78;
}
host virtualxp {
hardware ethernet 00:50:56:40:7f:b5;
ddns-hostname virtualxp;
fixed-address 192.168.1.20;
}
host gamemaster {
hardware ethernet 00:25:64:e8:e9:ed;
ddns-hostname gamemaster;
fixed-address 192.168.1.134;
}
host webserver {
hardware ethernet 52:54:00:25:99:97;
ddns-hostname webserver;
fixed-address 192.168.1.50;
}
host email {
hardware ethernet 52:54:00:8c:e1:41;
ddns-hostname email;
fixed-address 192.168.1.51;
}
host nuc {
hardware ethernet b8:ae:ed:71:0f:69;
ddns-hostname nuc;
fixed-address 192.168.1.152;
}
host marmot {
hardware ethernet 04:6C:59:38:23:2C;
ddns-hostname marmot;
fixed-address 192.168.1.184;
}
host dmz {
hardware ethernet 52:54:00:e1:18:0e;
ddns-hostname dmz;
fixed-address 192.168.1.1;
}
zone ketrenos.com. {
primary 127.0.0.1;
key ketrenos.com.;
}
zone ketrenos.net. {
primary 127.0.0.1;
key ketrenos.com.;
}
zone 1.168.192.in-addr.arpa. {
primary 127.0.0.1;
key ketrenos.com.;
}
update-static-leases on;
}