azukiapp / libnss-resolver

A Linux extension that adds support to the /etc/resolver/[suffix].
Apache License 2.0
44 stars 12 forks source link

support reverse DNS resolving #6

Open bAndie91 opened 9 years ago

bAndie91 commented 9 years ago

It would be useful to support gethostbyaddr() calls to be able to redirect reverse DNS queries too. For example use /etc/resolver/10.in-addr.arpa config file to query PTR records for 10.0.0.0/8 IPs.