Can your machine resolve hostnames properly? What happens if you try to resolve a hostname manually from within a terminal?