Re: Help on in.telnetd and route
Sorry, I am still not very clear about that :(
Anthony J. Breeds-Taurima wrote:
> You can't make in.telnetd act as a DNS server. You should be able to add
> the appropriate lines to /etc/hosts to make it work on your LAN.
>
> 127.0.0.1 localhost
> 192.168.0.1 win2kbox.your.domain win2kbox
> 192.168.0.X linuxbox.your.domain linuxbox
>
Do you mean I should add the hosts who want to visit me
to /etc/hosts, so telnetd will lookup /etc/hosts and won't
lookup the dns server?
For example, i am 192.168.0.7, and 192.168.0.1 -- 192.168.0.6
will visit me, so /etc/hosts should like
127.0.0.1 localhost
192.168.0.7 tao
192.168.0.1 zhao
192.168.0.2 xinhua
192.168.0.3 chen
... ?
And, can I force telnetd dont do ip->hostname lookup at all?
Thanks again
tao
(sorry, i forgot to cc to debian-list)
Reply to: