If you are behind a firewall, you could configure the firewall to
forward port 110 to an alternate port(109?). Then on the server, have
two different pop daemons started out of inetd that listen to the
different ports, then disable dns lookup on the internal port
connections while doing dns lookups on the external connections only. Of
course hacking the code should work too if you like to program...
-Joel
Kenneth Porter wrote:
>
> On Tue, 13 Mar 2001 20:35:47 -0500 (EST), Ayan George wrote:
>
> >You can always set up mappings in the /etc/hosts file for your
> >local machinese if they are using private addresses.
>
> I've been hand-maintaining reverse DNS for some DHCP-assigned hosts on
> the LAN, which is the DNS equivalent of what you suggest. I may just
> use dummy host names in the DHCP region to "soak up" the queries, but I
> was hoping I could just selectively disable the queries by either
> interface or address range.
>
> Another way to approach this is to allow querying only for "non-local"
> addresses that are not within the network of the interface they came in
> on. (if ((my_ip ^ his_ip) & netmask) do_reverse_lookup();)
>
> Ken
> mailto:[EMAIL PROTECTED]
> http://www.sewingwitch.com/ken/
> [If answering a mailing list posting, please don't cc me your reply. I'll take my
>answer on the list.]