-
Notifications
You must be signed in to change notification settings - Fork 519
Open
Labels
Description
What would you like to be added?
/kind enhancement
cscli allowlists add my-private-address-list my-fqdn.tld -d 'home address list dynamic'
Why is this needed?
Right now cscli allowlist
allows to add IP addresses to the allowlist.
What I would like to have is to pass FQDN which would be resolved to the given IP when evaluated.
I know resolving the address in the moment of the evaluation can be heavy, though DNS server should be actually responsible for handling that, so it may not be needed to additionally implement any kind of caching mechanism.
This would allow users with dynamic IP to be a bit safer in certain scenarios, such as your home IP is changed by the ISP and you unfortunately land on blocked IP address - and you have not much space to change it over next 24h.
Otherwise I need to use cron and a script to keep it up to date.
SirMaple