I have a linux server running on Amazon's EC2. It is unable to resolve it's own host IP address. It has a static IP assigned in a VPC. When I type "hostname" it resolves the name, but "hostname -i" yields unknown host. This is causing some problems for some software.
ifconfig shows the correct IP address and the server is clearly passing traffic to the outside because I can connect to it. I believe I have allowed all traffic through firewalls in an attempt to troubleshoot this. This server was copied to a VPC from a non VPC instance (this might have something to do with the problem / maybe a config file that needs to be changed, etc). |