I have a 2.2.12 machine functioning as a router for my home private-IP
network. I set up a caching-only DNS server according to the HOWTO.
In addition I have set up:
1. The hosts file on the LINUX router contains entries for all
machines on my private network.
2. Router's resolve.conf has "order hosts,bind"
3. The router has itself as first choice nameserver, my ISP's
nameservers as second and third choices.
4. The other machines have the router's IP as the first-choice
nameserver.
5. The other machines have entries in their hosts file for the router.
When I try to FTP or Telnet to the router, the connection is not
immediate. Instead the router dials my ISP. I think this must be
because FTP and telnet want to do a reverse lookup before accepting
the connection. I don't understand why the resolver in the router
can't/won't do this from the /etc/hosts file without wanting to ask
my ISP's nameservers, which is of course not going to give a
resolution anyway.
If I remove my ISP's nameservers from the router's list, then the
Telnet and FTP connections never complete, which seems to align with
my guesses about what is happening here.
Q1: What do I need to do to get the LINUX box to resolve my private IP
addresses for itself. Do I need to enhance my DNS server to ?
Q2. BTW, I would guess there is a way to tell telnet and FTP to not
bother with the reverse lookups. How is this done?