[CentOS] Name Resolution Broken for One Address

Jon Moore
Mon, 07 Dec 2009 13:09:46 -0000

On Monday, December 7, 2009, John Thomas <gmane-2006-04-16 at
jt-socal.com> wrote:
> I seem to have broken my laptop and have been unable to figure it out.
>
> Name resolution works great, except one address, which seems to be
> resolving to 0.0.0.1. ?Could you help me figure out what I have done and
> fix it?
>
> The following lines are in /etc/hosts
> 192.168.11.1 ? ?dev.example.com
> 192.168.11.1 ? ?dev1.example.com
>
> Pinging any other address that I try works, except dev.example.com.
>

try having both host names on the same line.

-jon