Open hydrosine opened 9 years ago
Hi Rik!
Unfortunately this is not yet supported in the permissions module. Can you detail a bit about how you see this working? For an A record that's simple. But for a SRV record, would you like to try to resolve all available protocols? Or do a NAPTR query first? What about subnets?
Best regards, Răzvan
Hello,
If you need full SIP resolution capabilities, take a look at the dispatcher module with it's ds_is_in_list() function.
Best Regards, Vlad
I'm looking for a way to match ip's and dns names against a known list and return some parameters if a hit is found. For ip's permissions is perfect, now i need the same for dns names. imho it would be nice to be able to resolve adresses. Another possibility would be to expand the permissions module to support dns names next to IP's. no resolving required then. @vladpaiu ds_is_in_list does also seem to only support ip's
Hi,
I would like to be able to resolv dns names, (Be it A records or SRV) so i can feed then into check_address functions of permissions module.
If there already is a way to do this (especially resolv SRV to ip) This can be closed.