Re: NEWS: Cables configuration
Ok I have fixed the problem. The problem was with the domain and search entries in the resolv.conf file and I had to delete something in the routing table. Anyway, Thanks very much for the help! At 13:37 19/01/2003 +0200, you wrote: On Sun, 19 Jan 2003, Dani Arbel wrote: Hi! The setup looks ok. I'd remove nis from nsswitch.conf , since I believe Eran does not have a Linux farm ... so I'd change the hosts line in that file to be: hosts: files dns Anyway, I think it is not the problem. Start ethereal to capture traffic from eth0 and then try to do some kind of name resolution (nslookup, host etc) could it be that he has a firewall setup that blocks his DNS requests? they go over UDP connect5ions, and if one blocks all UDP ports, one gets stuck. eran? any firewall set up there? you can also try to make DNS queries directly to the DNS server, using the 'host' command. something like: host ftp.netvision.net.il 194.90.1.5 'host' will query the given name server (194.90.1.5) directly for the details of 'ftp.netvision.net.il'. if this works, it means no firewall problems. if this does not work - i'd suggest making sure the firewall is (temporarily) disabled (if indeed it is running at all) by 'iptables -F', and then running this check again. please note that in current distributions, one chooses the firewalling level during system installation, and you _might_ have accidentally set it up, and a mode that blocks your DNS queries (or the DNS replies). -- guy For world domination - press 1, or dial 0, and please hold, for the creator. -- nob o. dy = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: NEWS: Cables configuration
Hi! The setup looks ok. I'd remove nis from nsswitch.conf , since I believe Eran does not have a Linux farm ... so I'd change the hosts line in that file to be: hosts: files dns Anyway, I think it is not the problem. Start ethereal to capture traffic from eth0 and then try to do some kind of name resolution (nslookup, host etc) Dani On Sun, 19 Jan 2003, guy keren wrote: On Sat, 18 Jan 2003, Official Flamer/Cabal NON-Leader wrote: Quoth Eran Levy: Yes I have DNS resolution problem. Im not uses my own DNS server. Im using Netvision's DNS server only. here are the files: /etc/resolv.conf: nameserver 194.90.1.5 add a domain foo.com or search bar.net to this file. doesn't sound relevant to the problem. the 'search' or 'domain' entries are used just to optimize the queries - not to make them 'correct'. this addition simplyallows partial domain names lookup to work (i.e. searching for 'foo', which is under the 'bar.net' domain, will work if the 'search bar.net' entry is found in resolv.conf). thus, i presume this is not going to solve the problem (unless the user was trying to look up such partial names, and expected this to work without the 'domain' or 'search' entries). -- guy For world domination - press 1, or dial 0, and please hold, for the creator. -- nob o. dy = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: NEWS: Cables configuration
On Sun, 19 Jan 2003, Dani Arbel wrote: Hi! The setup looks ok. I'd remove nis from nsswitch.conf , since I believe Eran does not have a Linux farm ... so I'd change the hosts line in that file to be: hosts: files dns Anyway, I think it is not the problem. Start ethereal to capture traffic from eth0 and then try to do some kind of name resolution (nslookup, host etc) could it be that he has a firewall setup that blocks his DNS requests? they go over UDP connect5ions, and if one blocks all UDP ports, one gets stuck. eran? any firewall set up there? you can also try to make DNS queries directly to the DNS server, using the 'host' command. something like: host ftp.netvision.net.il 194.90.1.5 'host' will query the given name server (194.90.1.5) directly for the details of 'ftp.netvision.net.il'. if this works, it means no firewall problems. if this does not work - i'd suggest making sure the firewall is (temporarily) disabled (if indeed it is running at all) by 'iptables -F', and then running this check again. please note that in current distributions, one chooses the firewalling level during system installation, and you _might_ have accidentally set it up, and a mode that blocks your DNS queries (or the DNS replies). -- guy For world domination - press 1, or dial 0, and please hold, for the creator. -- nob o. dy = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
NEWS: Cables configuration
NEWS: Now I can ping/tracepath/traceroute/FTP only IPs. I cant resolve names. I can connect to ftp.iglu.org.il only with the IP 192.117.122.34. I cant ftp to the name I can only ftp to the IP. The second thing that got me to the resolving names problem is that when I display the routing table with route Im getting the routing table after 3-5 minutes and when I display the routing table with the -n option of netstat Im getting the routing table after 1 millisecond (netstat -r -n). Whats the problem now? = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: NEWS: Cables configuration
Eran, You have DNS resolution problem. The routing table looks more or less ok. send your /etc/resolv.conf /etc/nsswitch.conf /etc/hosts Dani On Sat, 18 Jan 2003, Eran Levy wrote: NEWS: Now I can ping/tracepath/traceroute/FTP only IPs. I cant resolve names. I can connect to ftp.iglu.org.il only with the IP 192.117.122.34. I cant ftp to the name I can only ftp to the IP. The second thing that got me to the resolvingnames problem is that when I display the routing table with route Im getting the routing table after 3-5 minutes and when I display the routing table with the -n option of netstat Im getting the routing table after 1 millisecond (netstat -r -n). Whats the problem now? = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: NEWS: Cables configuration
Yes I have DNS resolution problem. Im not uses my own DNS server. Im using Netvision's DNS server only. here are the files: /etc/resolv.conf: nameserver 194.90.1.5 /etc/hosts: 127.0.0.1 localhost localhost.localdomain localhost /etc/nsswitch: passwd: files nisplus shadow: files nisplus group: files nisplus #hosts: db files nisplus nis dns hosts: files nisplus dns # Example - obey only what nisplus tells us... #services: nisplus [NOTFOUND=return] files #networks: nisplus [NOTFOUND=return] files #protocols: nisplus [NOTFOUND=return] files #rpc:nisplus [NOTFOUND=return] files #ethers: nisplus [NOTFOUND=return] files #netmasks: nisplus [NOTFOUND=return] files bootparams: nisplus [NOTFOUND=return] files ethers: files netmasks: files networks: files protocols: files nisplus rpc:files services: files nisplus netgroup: files nisplus publickey: nisplus automount: files nisplus aliases:files nisplus At 12:56 18/01/2003 +0200, you wrote: Eran, You have DNS resolution problem. The routing table looks more or less ok. send your /etc/resolv.conf /etc/nsswitch.conf /etc/hosts Dani On Sat, 18 Jan 2003, Eran Levy wrote: NEWS: Now I can ping/tracepath/traceroute/FTP only IPs. I cant resolve names. I can connect to ftp.iglu.org.il only with the IP 192.117.122.34. I cant ftp to the name I can only ftp to the IP. The second thing that got me to the resolvingnames problem is that when I display the routing table with route Im getting the routing table after 3-5 minutes and when I display the routing table with the -n option of netstat Im getting the routing table after 1 millisecond (netstat -r -n). Whats the problem now? = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: NEWS: Cables configuration
Quoth Eran Levy: Yes I have DNS resolution problem. Im not uses my own DNS server. Im using Netvision's DNS server only. here are the files: /etc/resolv.conf: nameserver 194.90.1.5 add a domain foo.com or search bar.net to this file. -- ---OFCNL This is MY list. This list belongs to ME! I will flame anyone I want. Official Flamer/Cabal NON-Leader [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: NEWS: Cables configuration
On Sat, 18 Jan 2003 18:28:56 +0200 Official Flamer/Cabal NON-Leader [EMAIL PROTECTED] wrote: Quoth Eran Levy: Yes I have DNS resolution problem. add a domain foo.com or search bar.net to this file. Besides the (correct) answer, let's learn how to diagnose these kind of problems. First question is always: Does my machine ask the correct question and doesn't get an answer? or maybe the question itself is wrong. (this would prevent you from searching the coin under the wrong lamp :-) Ethereal (or tcpdump) is your friend here. Simply run it and in the Capture-Filter write 'port 53'. Than do your test and watch the questions. You would see that your machine ask the wrong question (before the fix mark sent you). Cheers, Oron Peled Voice/Fax: +972-4-8228492 [EMAIL PROTECTED] http://www.actcom.co.il/~oron Don't worry about what anybody else is going to do. The best way to predict the future is to invent it. -- Alan Kay = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: NEWS: Cables configuration
Quoth Oron Peled on Sat, Jan 18, 2003: Ethereal (or tcpdump) is your friend here. Simply run it and in the Capture-Filter write 'port 53'. Than do your test and watch the questions. You would see that your machine ask the wrong question (before the fix mark sent you). In most situations when you need to debug DNS queries a sniffer is an overkill. dig(1) is good enough. Vadik. -- There is hopeful symbolism in the fact that flags do not wave in a vacuum. -- Arthur C. Clarke = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: NEWS: Cables configuration
On Sat, 18 Jan 2003, Official Flamer/Cabal NON-Leader wrote: Quoth Eran Levy: Yes I have DNS resolution problem. Im not uses my own DNS server. Im using Netvision's DNS server only. here are the files: /etc/resolv.conf: nameserver 194.90.1.5 add a domain foo.com or search bar.net to this file. doesn't sound relevant to the problem. the 'search' or 'domain' entries are used just to optimize the queries - not to make them 'correct'. this addition simply allows partial domain names lookup to work (i.e. searching for 'foo', which is under the 'bar.net' domain, will work if the 'search bar.net' entry is found in resolv.conf). thus, i presume this is not going to solve the problem (unless the user was trying to look up such partial names, and expected this to work without the 'domain' or 'search' entries). -- guy For world domination - press 1, or dial 0, and please hold, for the creator. -- nob o. dy = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]