Skip to content

cscli allowlists should support FQDN for dynamically changed addresses #3708

@nvtkaszpir

Description

@nvtkaszpir

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions