Skip to main content
OCLC Support

Option AnyDNSHostname

Option AnyDNSHostname specifies that an EZproxy mini-DNS server should respond to any request for a hostname that is this server’s name or ends in this server’s name. The mini-DNS server is enabled with the DNS directive. When the DNS directive is active, EZproxy will normally only resolve hostnames that match an active virtual web server. With Option AnyDNSHostname, the mini-DNS server behavior changes so that any hostname that is this server= B9s name or ends with this server= B9s name will also resolve.

The extremely rare configuration that requires this directive: (1) uses the D N S directive to support proxy by hostname, (2) posts persistent links to EZproxy in rewritten form, and (3) routinely removes all of its virtual web servers. Points 2 and 3 go against EZproxy best practices.

Option AnyDNSHostname is a non-repeatable position-independent config.txt directive.

Syntax
Option AnyDNXHostname [options]
Examples

Enable the mini-DNS server to resolve any hostname that matches this server's name or ends in this server's name.

Option AnyDNSHostname
  • Was this article helpful?