The current sniproxy implementation uses UDNS for name resolution.
Our current setup uses containers as backends, with potentially dynamic name-to-IP mappings. The names are resolvable via nss-mymachines.
Using UDNS, sniproxy does not use the NSS mechanisms (does it?), not using UDNS sniproxy does not do any name resolution. Is there any reason, not to use getaddressinfo(), at least as an alternative (ideally configurable at runtime) to UDNS?
Would you accept a pull-request, if I implement getaddrinfo() as an optional resolving method (instead of the dummy functions) in the absence of UDNS? Or do I miss an important point?
The current sniproxy implementation uses UDNS for name resolution.
Our current setup uses containers as backends, with potentially dynamic name-to-IP mappings. The names are resolvable via nss-mymachines.
Using UDNS, sniproxy does not use the NSS mechanisms (does it?), not using UDNS sniproxy does not do any name resolution. Is there any reason, not to use getaddressinfo(), at least as an alternative (ideally configurable at runtime) to UDNS?
Would you accept a pull-request, if I implement getaddrinfo() as an optional resolving method (instead of the dummy functions) in the absence of UDNS? Or do I miss an important point?