aboutsummaryrefslogtreecommitdiffstats
path: root/dhcp-to-dns.rsc
AgeCommit message (Collapse)AuthorFilesLines
2024-07-16bump RouterOS requirement for all scripts and modules...Gravatar Christian Hesse1-1/+1
... now that global-functions requires RouterOS 7.14 anyway.
2024-04-07bump RouterOS requirement for all scripts and modules...routeros-7.13-6Gravatar Christian Hesse1-1/+1
... now that global-functions requires RouterOS 7.13 anyway.
2024-03-12dhcp-to-dns: switch to $LogPrintGravatar Christian Hesse1-12/+12
2024-03-12global-functions: $LogPrintOnce: drop support for exitGravatar Christian Hesse1-2/+2
This is not widely adopted or used, so let's just drop it - no compatibility.
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 addresschange-111Gravatar Christian Hesse1-24/+31
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...
2023-06-08dhcp-to-dns: use 'active-' properties from leaseGravatar Christian Hesse1-13/+13
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
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 conditionGravatar Christian Hesse1-1/+1
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...
2023-03-28dhcp-to-dns: support host name from dhcp lease commentGravatar Christian Hesse1-1/+3
The lease comment is supposed to be a human readable string... But we could allow parsable information.
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 addressGravatar Christian Hesse1-1/+1
The other values *should* be unchanged...
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...change-97Gravatar Christian Hesse1-10/+13
... and an optional CNAME with host name.
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"change-95Gravatar Christian Hesse1-0/+97
No functional change for the user... The migration is done automatically.