Stop... Back up a step.
Who and what is at IP 178.239.178.51? What I assumed by your first post was that 178.239.178.51 was your own machine's IP address, but now suspect that that is a a server on another network, outside of your own, right? Because your local network ID is 10.0.0.0... which you would go through a gateway (thru a router) to outside of that. Any domain outside of your own local network would not be in your hosts file, but rather get it's name from a nameserver (dns). That is where those domains would get their name/ip mappings.
So instead of, what I thought you where trying to query your own IP, from the outside (not from localhost), you were trying to connect to an external server?
The hosts file is usually for mapping servers IPs/ServerNames on your own local network, if you do not have a local dns server on your own local network.
If the machine that owns the public address of 178.239.178.51 is on one of your own networks, then there should be a router or route between that and your own local network. Whether yours or not... Can you post the results of
Code:
ping -c 4 178.239.178.51
traceroute 178.239.178.51
nslookup -query=mx fanta-trade.eu
nslookup -query=mx geowar.eu
nslookup -query=mx grimaldi-web.com
nslookup -query=mx myonpa.com
nslookup should return the ip address of a domain. The query mx option queries all mail servers of that domain...
EDIT-- See attachments... This is what I see with those commands (attached)
I see all those domains mapped to IP address 178.239.178.51. I see ports 10 and 20 open on them with an mx query. I do not see port 25 open on any of them. So is 178.239.178.51 yours?
Since I can see that from the US, from one of my machines, which just happanes to be one of my DC'es/DNS'es... you should not have to map them in your hosts files, because they are already mapped in external DNS servers.
What I see open on those domains is sSmtp mail service, which is both ports 10 and 20. Why are you not trying to use sSmtp to send mail to them? That is what they are using...
Bookmarks