aboutsummaryrefslogtreecommitdiffstats
path: root/dhcp-to-dns.rsc
AgeCommit message (Collapse)AuthorFilesLines
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.