Nginx-http-rdns module

Hi guys!

Our small Russian company (flant.com) is pleased to announce new module
called nginx-http-rdns.

As you can see from its name, the main feature of this module is making
reverse DNS lookups to get DNS name of client’s IP address.

Features:

  • usual rDNS lookup (saving result in $rdns_hostname variable) [rdns
    on];
  • “double lookup”: rDNS to get the name and DNS to get the IP address
    back [rdns double];
  • rewrite module support (“rdns” can be used inside “if” blocks);
  • simple access control to allow/deny connections from given DNS names
    [rdns_allow & rdns_deny].

We use this module in production for a long time so it should be pretty
stable.

Source code, docs (and your forks? :-)) are at GitHub:
https://github.com/flant/nginx-http-rdns
The documentation based on our README file is here:
http://wiki.nginx.org/HttpRdnsModule

P.S. We have Russian documentation as well:
http://flant.ru/projects/nginx-http-rdns


Dmitry Shurupov,
CSJC Flant
http://flant.com/
+7 (495) 721-10-27

Here’s a fix for a typo;

ngx_http_rdns_module.c
-l709
static void dns_handler(ngx_resolver_ctx_t * rctx) {;
+l709
static void dns_handler(ngx_resolver_ctx_t * rctx) {

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,243191,243213#msg-243213

Thank you, it’s merged:
https://github.com/flant/nginx-http-rdns/commit/8c2ef68b1767590aab131cd5c3a2fd1955f0b3c6

27.09.2013 20:08, itpp2012 пишет: