title: URL redirection using powerdns and lua scripting
body: <p>I am building an internal whitelist browsing filter server for a business.
  It is 95% operational.
  PowerDNS intercepts the DNS request and the LUA script correctly determines if the URL is whitelisted.
  The problem lies in the blacklist block page ... all I get is PAGE CANNOT BE DISPLAYED.
  The LUA script is getting to this line but the actual redirect never occurs:<br>
  return 0, {{qtype=pdns.A, content="1.2.3.4"}}<br>
  The 1.2.3.4 is where I put the actual IP of the PowerDNS server itself.
  Apache is not detecting that anything is getting to the server over port 80.
  If I navigate to 1.2.3.4 I do get the block page so I know apache is configured correctly and I have ServerAlias set to * to accept all domains.
  Thanks in advance.</p>