Disabling reverse DNS lookups

Disabling reverse DNS lookups

Post by Keith Beddar » Fri, 18 May 2001 03:27:22



Could anyone tell me how to stop Solaris 7 from performing reverse DNS
lookups for incoming client connections please?
The process of it doing this to our PCs in a WINS and DHCP environment
is slowing down connections to the server to an unacceptable level.
The reverse lookup serves no purpose as the PC's have no host entries in
the DNS database.
They are connecting via telnet and http to Netscape Enterprise server.

Thanks

nsswitch.conf has his entry for hosts
hosts:      files dns

 
 
 

Disabling reverse DNS lookups

Post by Barry Margoli » Fri, 18 May 2001 03:56:21




Quote:>Could anyone tell me how to stop Solaris 7 from performing reverse DNS
>lookups for incoming client connections please?
>The process of it doing this to our PCs in a WINS and DHCP environment
>is slowing down connections to the server to an unacceptable level.
>The reverse lookup serves no purpose as the PC's have no host entries in
>the DNS database.

I'm not aware of any way to keep telnetd from doing this.  But it should
only slow things down if the server for the reverse domain doesn't respond.
You can solve this by creating a reverse domain, and simply leaving out the
PTR records; you'll get back an immediate response that says that the
reverse record doesn't exist, and that will satisfy telnetd.

--

Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

 
 
 

Disabling reverse DNS lookups

Post by Mathew Kirsc » Fri, 18 May 2001 22:33:49



> I'm not aware of any way to keep telnetd from doing this.  But it should
> only slow things down if the server for the reverse domain doesn't respond.
> You can solve this by creating a reverse domain, and simply leaving out the
> PTR records; you'll get back an immediate response that says that the
> reverse record doesn't exist, and that will satisfy telnetd.

So what's the point of the reverse lookup then?
 
 
 

Disabling reverse DNS lookups

Post by Steve Los » Sat, 19 May 2001 04:00:19





>> I'm not aware of any way to keep telnetd from doing this.  But it should
>> only slow things down if the server for the reverse domain doesn't respond.
>> You can solve this by creating a reverse domain, and simply leaving out the
>> PTR records; you'll get back an immediate response that says that the
>> reverse record doesn't exist, and that will satisfy telnetd.

>So what's the point of the reverse lookup then?

Probably so the hostname can be logged in /var/adm/utmpx and wtmpx
for reporting by the "who" and "last" commands.
 
 
 

Disabling reverse DNS lookups

Post by Barry Margoli » Sat, 19 May 2001 07:12:42





>> I'm not aware of any way to keep telnetd from doing this.  But it should
>> only slow things down if the server for the reverse domain doesn't respond.
>> You can solve this by creating a reverse domain, and simply leaving out the
>> PTR records; you'll get back an immediate response that says that the
>> reverse record doesn't exist, and that will satisfy telnetd.

>So what's the point of the reverse lookup then?

The point is that it does something useful if you're coming from an address
that does have a reverse DNS entry.  There are three cases to consider:

1) There's a reverse entry for the address.  In this case, commands like
   "who" can show the hostname.

2) There's a reverse DNS server for the network, but it has no reverse
   entry for the address.  "who" will show the address instead of the
   hostname.

3) The nameserver that the reverse DNS is delegated to doesn't exist.  In
   this case, the resolver keeps trying to query it for about 30 seconds
   (it can't tell the difference between a server not existing and
   temporary network problems), and then times out and treats it like case
   2.

Case 3 is the one that screws up many sites, resulting in a 30-second delay
between telnet saying "Connected" and getting the login prompt.  The
solution is to change to case 2 by putting the reverse domain on your DNS
server, but leaving out all the PTR records.

--

Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

 
 
 

1. How to disable reverse DNS lookup with apache ?

I think the title tells the whole story ...

I'm using release 1.02 and I'm SURE it's possible but can't find out how
...

Thanks

JPM
--
Jean-Pierre Morant
c/o MARBEN S.A./N.V.
Boulevard du Souverain,400, Vorstlaan
1160    Bruxelles
Belgium
+ 32 2 663 1130 (phone)
+ 32 2 663 1199 (fax)
http://www.marben.be

2. net-pf modules

3. how to disable reverse DNS lookups

4. dhcpd server with a dhcpc interface ?

5. how do i disable DNS reverse lookups?

6. Any comment upon the BSDI/FreeBSD merger, from a OpenBSD perspective??

7. tcpd - How can I disable reverse lookups

8. Linux on Sun i386 ?!

9. Disable ns reverse lookup for telnet

10. telnetd: how to disable reverse name lookup?

11. How to disable reverse name lookup?

12. Q: disabling reverse lookups in Solaris 2.6

13. Disable Reverse Lookups with WU-ftp