tunix / digitalocean-dyndns

Dynamic DNS using DigitalOcean's DNS Services
76 stars 30 forks source link

disable filename expansion during evalutation of the NAME env variable #18

Closed ifrido closed 3 years ago

ifrido commented 3 years ago

This makes it possible to update wildcard records which contain an asteriks (*) as subdomain name. The NAME variable could look something like:

$ docker run -d --name dyndns \
    -e DIGITALOCEAN_TOKEN="your_token_here" \
    -e DOMAIN="yourdomain.com" \
    -e NAME="@;*" \
    tunix/digitalocean-dyndns

With filename expansion on this would lead to a loop over all filenames in the directory.