aboutsummaryrefslogtreecommitdiffstats
path: root/dhcp-to-dns.rsc
AgeCommit message (Expand)AuthorFilesLines
13 hoursdhcp-to-dns: explicitly expect type=A...•••... which is provided since 7.16beta7 (but require next stable release 7.16 as that is available meanwhile). I had this on my wishlist for a long time, and opened an issue in March 2023 about it (SUP-111312). Back then I changed the code to support both, see commit 779b3b8872b23b784c331d7a454c86439046f5d3. routeros-7.16-6Gravatar Christian Hesse1-4/+4
2024-07-16bump RouterOS requirement for all scripts and modules...•••... now that global-functions requires RouterOS 7.14 anyway. Gravatar Christian Hesse1-1/+1
2024-04-07bump RouterOS requirement for all scripts and modules...•••... now that global-functions requires RouterOS 7.13 anyway. routeros-7.13-6Gravatar Christian Hesse1-1/+1
2024-03-12dhcp-to-dns: switch to $LogPrintGravatar Christian Hesse1-12/+12
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