Is there a way to disable dnslookup only for a particular network? For
example, for 127.0.0 and 192.168.1?
On Thu, 2008-11-27 at 21:57 -0500, Sam Varshavchik wrote:
> Ricardo Kleemann writes:
> > On Thu, 2008-11-27 at 16:20 -0500, Sam Varshavchik wrote:
> >> Ricardo Kleemann writes:
> >> > Thanks Sam.
> >> >
> >> > But if I'm connecting to localhost, how does that play into reverse DNS?
> >> It doesn't matter what your IP address is. Courier still attempts to resolve
> >> it. The only thing that's special about localhost is that it's IP address is
> >> 127.0.0.1
> >> > The server is behind a firewall so the actual connecting address would
> >> > be an internal IP anyway. But in the case of localhost I don't
> >> > understand the role of reverse DNS and ident lookup.
> >> Courier performs reverse/forward DNS lookup on the connecting IP address.
> >> Whether it's localhost, or some other IP address, it doesn't make a
> >> difference.
> > Ok, I see. So how typically does localhost resolve in reverse DNS? I am
> > using a dnscache in my firewall, I'm not sure how to make that work with
> > reverse DNS, anyone know?
> If you run your own nameserver, you set it up as authoritative for
> 0.0.127.in-addr.arpa, and provide a mapping for 127.0.0.1. ISPs typically
> set up their DNS servers the same way, so if you're using your ISP's name
> servers, this should work as well. If you have one that's not up to speed,
> you pretty much have to run your own name servers, to bypass the damage.
> Once 127.0.0.1 gets resolved to "localhost", that has then has to be
> resolved forwards. /etc/resolv.conf gives your domain, example.com, so a
> query goes out to localhost.example.com. You'll set up your domain so that
> localhost.example.com maps back to 127.0.0.1, and you're done.
> First, you should check what a query for 127.0.0.1 resolves for you: dig -x
> 127.0.0.1. If your setup resolves it properly to localhost, you'll just need
> to provide a suitable entry for localhost in your domain.
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> _______________________________________________ courier-users mailing list courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users