| Linode Forum https://forum.linode.com/ |
|
| Host or domain name not found https://forum.linode.com/viewtopic.php?f=11&t=10785 |
Page 2 of 3 |
| Author: | Main Street James [ Sat Jan 18, 2014 9:19 pm ] |
| Post subject: | Re: Host or domain name not found |
I'm not sure which logs will have those errors. Try going to /var/log then do a dig and then sort by date. BTW, did you recently turn on IP6? |
|
| Author: | vincenzo [ Sat Jan 18, 2014 9:20 pm ] |
| Post subject: | Re: Host or domain name not found |
Now check the log, but I have not turned on ipv6 |
|
| Author: | Main Street James [ Sat Jan 18, 2014 9:24 pm ] |
| Post subject: | Re: Host or domain name not found |
I'm not a networking guy so I'm not sure how much more help I can provide. Have you tried a Debian forum? |
|
| Author: | vincenzo [ Sat Jan 18, 2014 9:25 pm ] |
| Post subject: | Re: Host or domain name not found |
Yes I have searched around, but I can not solve. |
|
| Author: | imMute [ Sat Jan 18, 2014 9:29 pm ] |
| Post subject: | Re: Host or domain name not found |
Based on what you said the output of "dig gmail.com mx" was, you seem to have network issues, at least issues connecting to the DNS servers listed in /etc/resolv.conf Please paste the output of Code: iptables-save, Code: ip addr, and Code: ip route show table all. |
|
| Author: | vincenzo [ Sat Jan 18, 2014 9:35 pm ] |
| Post subject: | Re: Host or domain name not found |
iptables-save: Code: :OUTPUT ACCEPT [324844:23039433] ip addr: Code: 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 ip route show table all: Code: 9: sit0: <NOARP> mtu 1480 qdisc noop state DOWN |
|
| Author: | imMute [ Sat Jan 18, 2014 9:39 pm ] |
| Post subject: | Re: Host or domain name not found |
Firewall is fine. Network interface UP and route table looks fine. Could you paste the output of Code: dig gmail.com MX? |
|
| Author: | vincenzo [ Sat Jan 18, 2014 9:42 pm ] |
| Post subject: | Re: Host or domain name not found |
Result: ; <<>> DiG 9.6-ESV-R4 <<>> gmail.com MX ;; global options: +cmd ;; connection timed out; no servers could be reached |
|
| Author: | imMute [ Sat Jan 18, 2014 9:44 pm ] |
| Post subject: | Re: Host or domain name not found |
Okay, now try Code: dig @109.74.192.20 gmail.com MXand if that fails Code: traceroute 109.74.192.20 |
|
| Author: | vincenzo [ Sat Jan 18, 2014 9:47 pm ] |
| Post subject: | Re: Host or domain name not found |
dig @109.74.192.20 gmail.com MX: Code:
traceroute 109.74.192.20: Code:
|
|
| Author: | imMute [ Sat Jan 18, 2014 10:04 pm ] |
| Post subject: | Re: Host or domain name not found |
It appears you're connecting to the Linode using LiSH instead of regular SSH. Are you unable to connect to it via SSH? Are you able to connect to other services running on the Linode? That and the fact that dig can't connect to another Linode server to resolve domain names makes me think your networking is massively hosed. Are you able to Code: ping 178.79.155.1? |
|
| Author: | vonskippy [ Sat Jan 18, 2014 10:05 pm ] |
| Post subject: | Re: Host or domain name not found |
You need to start with the basics. If you're not using IPv6, then remove it. Can you ping 74.125.225.181? Can you ping http://www.gmail.com? If you can the first but not the second, then your name resolution is fubar'd. Remove everything from your /etc/resolv.conf and just put in: nameserver 8.8.8.8 nameserver 8.8.4.4 Then try ping http://www.gmail.com If that doesn't work, it's a real puzzle, and I'd start to think your system had been compromised? It would also help if you show the COMMAND and the RESULTS in your code snips, dumber things have happened when all parties ASSUME that the command is being entered correctly. |
|
| Author: | vincenzo [ Sat Jan 18, 2014 10:08 pm ] |
| Post subject: | Re: Host or domain name not found |
I can connect with putty via ssh, but if I try to access ftp with root gives me connection timeout. Result ping: Code: PING 178.79.155.1 (178.79.155.1) 56(84) bytes of data. |
|
| Author: | vincenzo [ Sat Jan 18, 2014 10:16 pm ] |
| Post subject: | Re: Host or domain name not found |
Result ping 74.125.225.181: Code: PING 74.125.225.181 (74.125.225.181) 56(84) bytes of data. Ping http://www.gmail.com: Code: ping: unknown host http://www.gmail.com About ten days ago, telling me that my linode server was receiving a dos attack, but I took countermeasures almost immediately by blocking the root user. Ill problem was solved almost immediately. Now I try to change the resolv.conf and I'll let you know. |
|
| Author: | vincenzo [ Sat Jan 18, 2014 10:22 pm ] |
| Post subject: | Re: Host or domain name not found |
I changed the file /etc/resolv.conf like this: Code: nameserver 8.8.8.8 I did the ping http://www.google.com and I get this: ping: unknown host http://www.gmail.com I'm sorry, I can not understand what you need when you say this: Quote: It would also help if you show the COMMAND and the RESULTS in your code snips, dumber things have happened when all parties ASSUME that the command is being entered correctly.
|
|
| Page 2 of 3 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|