aboutsummaryrefslogtreecommitdiffstats
path: root/dhcp-to-dns.rsc
AgeCommit message (Expand)AuthorFilesLines
2024-03-12global-functions: $LogPrintOnce: drop support for exit...This is not widely adopted or used, so let's just drop it - no compatibility. Gravatar Christian Hesse1-2/+2
2024-03-12dhcp-to-dns: drop main function, use :do with on-errorGravatar Christian Hesse1-6/+4
2024-03-12global-functions: $ScriptLock: do not exit from global functionGravatar Christian Hesse1-1/+3
2024-03-04dhcp-to-dns: move code into functionGravatar Christian Hesse1-88/+93
2024-01-31dhcp-to-dns: use $CleanNameGravatar Christian Hesse1-3/+3
2024-01-30dhcp-to-dns: use :jobname to get script nameGravatar Christian Hesse1-1/+2
2024-01-18global-functions: $LogPrintOnce: support exitGravatar Christian Hesse1-2/+2
2024-01-01update copyright for 2024Gravatar Christian Hesse1-1/+1
2023-10-27dhcp-to-dns: prepare string 'mac in server'Gravatar Christian Hesse1-15/+11
2023-10-27dhcp-to-dns: prepare full names for A and CNAME recordsGravatar Christian Hesse1-14/+16
2023-10-27dhcp-to-dns: info on mac address bound multiple timeGravatar Christian Hesse1-0/+3
2023-10-27dhcp-to-dns: warn on duplicate namesGravatar Christian Hesse1-0/+5
2023-10-27dhcp-to-dns: allow multiple records for one mac address...Now that we can have differnt name suffixes via networks it makes sense to allow multiple records for one mac address. Also update the wording for messages... change-111Gravatar Christian Hesse1-24/+31
2023-06-08dhcp-to-dns: use 'active-' properties from lease...Turns out that address for static leases can be an address pool. Of course that breaks the script as an ip address is expected. Use 'active-address' instead. Also let's do the same for 'active-mac-address'... Fixes GH-43 Gravatar Christian Hesse1-13/+13
2023-04-24dhcp-to-dns: get domain from dhcp server's network definitionchange-99Gravatar Christian Hesse1-7/+8
2023-04-24dhcp-to-dns: rename variable to not clash with global oneGravatar Christian Hesse1-13/+13
2023-04-24dhcp-to-dns: handle change of domainGravatar Christian Hesse1-10/+11
2023-04-24dhcp-to-dns: get all values of dns recordGravatar Christian Hesse1-2/+2
2023-04-24dhcp-to-dns: handle duplicate leases earlierGravatar Christian Hesse1-6/+5
2023-04-24dhcp-to-dns: handle dns record by comment and typeGravatar Christian Hesse1-1/+1
2023-03-29dhcp-to-dns: use better condition...The condition worked, but could match others (AAAA, NXDOMAIN, ...) as well (though these should not exist). The problem is that matching with `type=A` does not return any results. For historical reasons A records have no type, thus can be matched with `!type`. I opened an issue to fix this... (SUP-111312) So let's assum `!type` works and `type=A` could become valid... Gravatar Christian Hesse1-1/+1
2023-03-28dhcp-to-dns: support host name from dhcp lease comment...The lease comment is supposed to be a human readable string... But we could allow parsable information. Gravatar Christian Hesse1-1/+3
2023-03-28dhcp-to-dns: add cname if host name appears for existing recordGravatar Christian Hesse1-0/+4
2023-03-22dhcp-to-dns: update cname record on changed host nameGravatar Christian Hesse1-0/+6
2023-03-22dhcp-to-dns: just update the address...The other values *should* be unchanged... Gravatar Christian Hesse1-1/+1
2023-03-22dhcp-to-dns: add debug message on duplicate leasesGravatar Christian Hesse1-0/+1
2023-03-22dhcp-to-dns: do not update records based on host nameGravatar Christian Hesse1-7/+0
2023-03-22dhcp-to-dns: always create A record with mac address......... and an optional CNAME with host name. change-97Gravatar Christian Hesse1-10/+13
2023-03-22dhcp-to-dns: split fqdn to host name and domainGravatar Christian Hesse1-7/+7
2023-03-22dhcp-to-dns: match comment on beginning of lineGravatar Christian Hesse1-1/+1
2023-03-22dhcp-to-dns: allow the matching separator string in nameGravatar Christian Hesse1-4/+4
2023-03-07rename scripts and add file extension ".rsc"...No functional change for the user... The migration is done automatically. change-95Gravatar Christian Hesse1-0/+97