diff options
author | Christian Hesse <mail@eworm.de> | 2023-03-21 20:59:15 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-03-22 21:53:32 +0100 |
commit | aac87098814e10d4ec36ba2a77a29c2018869774 (patch) | |
tree | c2a0b5cc65f83b41cbf0e8dc2f557eb000c62b74 /news-and-changes.rsc | |
parent | 4a0f395fe127f82d35e0ac40af081a2391a36da5 (diff) |
dhcp-to-dns: always create A record with mac address...change-97
... and an optional CNAME with host name.
Diffstat (limited to 'news-and-changes.rsc')
-rw-r--r-- | news-and-changes.rsc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/news-and-changes.rsc b/news-and-changes.rsc index e809db2..d21ea6b 100644 --- a/news-and-changes.rsc +++ b/news-and-changes.rsc @@ -10,9 +10,10 @@ # Changes for global-config to be added to notification on script updates :global GlobalConfigChanges { 96="Added support for notes in 'netwatch-notify', these are included verbatim into the notification."; + 97="Modified 'dhcp-to-dns' to always add A records for names with mac address, and optionally add CNAME records if the host name is available."; }; # Migration steps to be applied on script updates :global GlobalConfigMigration { - 0; + 97=":local Rec [ /ip/dns/static/find where comment~\"^managed by dhcp-to-dns for \" ]; :if ([ :len \$Rec ] > 0) do={ /ip/dns/static/remove \$Rec; /system/script/run dhcp-to-dns; }"; }; |