Hi, I have problem with my network on Slackware 7.1 that can not solve.
I have a local network which is not connected all the time to the Internet. My gateway is 3com Office connect. And so My Slackware Linux machine accepts telnet and ftp from my local network only when the gateway is connected to the Internet. I made a tcpdump and found that every time I want to make ftp or telnet to this Linux host it makes connection to the DNS specified in the resolv.conf (DNS is not in the local net), if they are not available connection hangs just before the login prompt. Here is the output:
hal$ telnet 192.168.200.253
Trying 192.168.200.253...
Connected to 192.168.200.253.
Escape character is '^]'.
and
hal$ ftp 192.168.200.253
Connected to 192.168.200.253.
First I removed All entries from resolv.conf and everything was OK(except that this Linux machine has no access to DNS). I uncommented entries in resolve.conf and decided that the problem is in the nsswich.conf. But this file looked well every where "files" was first and then "dns":
...............
hosts: files dns
networks: files dns
................
I removed dns from "hosts:" and everything was OK (except the DNS of coarse).
Can You help me please?
Where is the problem and why this Slachware 7.1 machine searches DNS on incoming connections?
Thanks a lot in advance!
Rumen
I have a local network which is not connected all the time to the Internet. My gateway is 3com Office connect. And so My Slackware Linux machine accepts telnet and ftp from my local network only when the gateway is connected to the Internet. I made a tcpdump and found that every time I want to make ftp or telnet to this Linux host it makes connection to the DNS specified in the resolv.conf (DNS is not in the local net), if they are not available connection hangs just before the login prompt. Here is the output:
hal$ telnet 192.168.200.253
Trying 192.168.200.253...
Connected to 192.168.200.253.
Escape character is '^]'.
and
hal$ ftp 192.168.200.253
Connected to 192.168.200.253.
First I removed All entries from resolv.conf and everything was OK(except that this Linux machine has no access to DNS). I uncommented entries in resolve.conf and decided that the problem is in the nsswich.conf. But this file looked well every where "files" was first and then "dns":
...............
hosts: files dns
networks: files dns
................
I removed dns from "hosts:" and everything was OK (except the DNS of coarse).
Can You help me please?
Where is the problem and why this Slachware 7.1 machine searches DNS on incoming connections?
Thanks a lot in advance!
Rumen