To clarify, some services will see an incoming IP and attempt to run a reverse lookup on it for things like TCPWrapper ACL.
It does not skip that on local network ranges. Its so you can uses deny/allow in things like /etc/hosts.allow for local hostnames.
I can't recall if X11 does it by default, but if you are forwarding the connection over SSH, I know that service does.
just add a line in /etc/hosts for the private IP of the other machine with your hostname like this:
192.168.1.5 myworkstation
That way the dns reverse returns quickly instead of hitting whatever your resolvers are and taking a few seconds to time out on a null result. Alternatively if your local LAN uses your router as a DNS proxy some routers will allow you to "inject" results for your local lan.
It does not skip that on local network ranges. Its so you can uses deny/allow in things like /etc/hosts.allow for local hostnames.
I can't recall if X11 does it by default, but if you are forwarding the connection over SSH, I know that service does.
just add a line in /etc/hosts for the private IP of the other machine with your hostname like this:
192.168.1.5 myworkstation
That way the dns reverse returns quickly instead of hitting whatever your resolvers are and taking a few seconds to time out on a null result. Alternatively if your local LAN uses your router as a DNS proxy some routers will allow you to "inject" results for your local lan.