gclayburg/synology-diskstation-scripts

Can you help / advise how to create a wildcard entry?

Closed this issue · 1 comments

This script is really helping to align my dev environment to how I want it.

As well as registering the A record for new machine name I would also like to add a wildcard entry for sub-domains of the machine. IE:

*.newDHCPmachine.mydns-domain.com

Could you advise what changes I need to make to the script?

Thanks

After line 128 I added:

if (RecordType == "A") print 2000 + arr[4] "\t" "*." NAME "." YourNetworkName ".\t" RENEW "\tA\t" IP "\t;dynamic"

Thanks!