Skip to content

Instantly share code, notes, and snippets.

View teliot's full-sized avatar

Thomas C Donnelly teliot

View GitHub Profile
@teliot
teliot / gist:e92ea7fd7f7ebd617d487c17904744be
Created June 24, 2020 20:21
isc dhcp option 121 and option 249 static routes info
# defines the type of data used to send the static routing information
# rfc3442
option classless-routes-lin code 121 = array of unsigned integer 8;
option classless-routes-win code 249 = array of unsigned integer 8;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.200;
option domain-name-servers 192.168.1.5, 192.168.1.7;
option domain-name "t.home";
@teliot
teliot / gist:fa1e914014ed122e2594fb903638660a
Created June 20, 2020 01:45
ddns isc dhcp to power dns pdns
Jan 22 09:50:36 delle6430 dhcpd[2860]: DDNS: cleaning up lease pointer for a cancel cb=0x55fd8ab603b0
Jan 22 09:50:36 delle6430 dhcpd[2860]: Unable to add forward map from host1.domain.ca to 192.168.0.121: operation canceled
if you get the above error check your dhcpd.conf file for the section
zone name {
primary IP <---- double check that IP leads to a reachable DNS server
key
}