Open c3ph3us opened 8 years ago
scenario of http request from remote address (ip x.x.x.x) in nginx -> $remote_addr;
location / { rdns on; rdns_allow x_host.domainname.com; }
x.x.x.x -> y_host.domain.com
thats give me from $remote_addr - > $rdns_hostname
but what when multiple domains points to the same host but only one reverse record for ip
there is a problem where for example i use dynamic ip and i want to match domain query for reverse lookup
example :
reverse dns query for:
1.2.3.4 resolves to x_host.domain.com
but dns queries (both) for:
x_host.domains.com resolves to 1.2.3.4 y_host.domains.com resolves to 1.2.3.4
now i want to be able to make match on ip not on hosts: rdns_allow hostname -> to ip - > match on $remote_addr;
Thank you for reporting. We will deal with this issue starting the next week.
scenario of http request from remote address (ip x.x.x.x) in nginx -> $remote_addr;
location / { rdns on; rdns_allow x_host.domainname.com; }
thats give me from $remote_addr - > $rdns_hostname
but what when multiple domains points to the same host but only one reverse record for ip
there is a problem where for example i use dynamic ip and i want to match domain query for reverse lookup
example :
reverse dns query for:
but dns queries (both) for:
now i want to be able to make match on ip not on hosts: rdns_allow hostname -> to ip - > match on $remote_addr;