<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
on some of my name servers I use entries like this to generate generic
reverse lookups<br>
<br>
<font face="Courier New, Courier, monospace">$generate 69-254 $ PTR
ip-195-206-108-$.soundnetworks.net.<br>
*       PTR     generic.soundnetworks.net.</font><br>
<br>
you can do the same for forward lookups, <br>
<br>
But a better way is to use iptables:  in iptables if you have a linux
box as your default gateway, you can use it to say trap port 80 out
bound and redirect to port 80 on the local box itself or any other
local box, that way you can avoid the DNS stuff eg:<br>
<br>
iptables -t nat -A PREROUTING -i $INT_IFACE -p tcp --dport 80 -j
REDIRECT --to-port 80<br>
<br>
This will redirect ALL port 80 requests to any remote ip to port 80 on
the local box,  you can check it works if you doubt it by starting up
sendmail on the same box making sure sendmail is not running on
127.0.0.1 only and changing the 80s above to 25.<br>
<br>
Then from inside the LAN telnet to ANY remote ip address on port 25 and
your firewall sendmail will trap it, in the same way change it port 80
and whatever url you type your local webserver will serve it....make
sure your local webserver is not set to serve virtual hosts.....that
way it does not look at the actual url requested in the http header..<br>
<br>
Regards<br>
<br>
Pete<br>
<br>
<br>
<br>
<br>
<br>
Alan Hodgson wrote:<br>
<blockquote type="cite" cite="mid20050819164217.GC2767@simkin.ca">
  <pre wrap="">On Fri, Aug 19, 2005 at 10:54:05AM -0500, Mike Kercher wrote:
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">Setup your server to be authoritative for root (.) and serve
up a *. A record in there.  Some of the alternate root
network sites (ie. OpenNIC) have instructions for setting up
BIND to be authoritative for .
      </pre>
    </blockquote>
    <pre wrap="">Thanks Alan.  I'm googling now.  If you have a link, I'd appreciate it :)

    </pre>
  </blockquote>
  <pre wrap=""><!---->
Something like:

zone "." in
{
        type master;
        file "root.zone";
};

... instead of the type hint section for .

It's been a long time since I used BIND, so this is just a suggestion.
 
  </pre>
</blockquote>
</body>
</html>