Skip to content

wangkun611/nginx-httpdns-module

Repository files navigation

Name

NGINX-based HttpDNS Server

Table of Contents

Status

This module is test.

Synopsis

   location /d {
     httpdns forward 114.114.114.114 8.8.8.8;
   }
   location /d {
     httpdns recursion;
     httpdns_ns pptv.com dns1.pplive.com dns11.pplive.com dns12.pplive.com dns13.pplive.com;

   }

Back to TOC

Content Handler Directives

httpdns

syntax: httpdns [forward|recursion] [forwarders]...

default: no

context: location

phase: content

    httpdns forward 114.114.114.114 8.8.8.8;
    httpdns recursion;

httpdns_arg_ip

syntax: httpdns_arg_ip value...

default: no

context: location

phase: content

    httpdns_arg_ip $arg_ip $real_ip $realip_remote_addr;

httpdns_arg_host

syntax: httpdns_arg_host value...

default: no

context: location

phase: content

    httpdns_arg_host $arg_host;

About

NGINX-based HttpDNS Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages