ubus: add support for dynamically adding dns based rules
Signed-off-by: Felix Fietkau <[email protected]>
ubus: add api for providing dns lookup results for dns regex rules
Signed-off-by: Felix Fietkau <[email protected]>
map: add support for adding dns regex patterns
This will be used for hostname based dscp mark rules
Signed-off-by: Felix Fietkau <[email protected]>
map: make a helper function for freeing entries
Signed-off-by: Felix Fietkau <[email protected]>