chmac
15th February 2008, 01:47 PM
`date;getent hosts localhost;date` outputs:
Fri Feb 15 15:42:49 SAST 2008
127.0.0.1 lap1 lap1.local localhost localhost.localdomain google-analytics.com www.google-analytics.com
Fri Feb 15 15:42:56 SAST 2008
It takes 7 seconds to resolve localhost.
Any suggestions on how to debug? What to change?
I've changed the hostname of my machine to "lap1.local". I've tried changing it back to "localhost.localdomain", but it doesn't make any difference.
Fri Feb 15 15:42:49 SAST 2008
127.0.0.1 lap1 lap1.local localhost localhost.localdomain google-analytics.com www.google-analytics.com
Fri Feb 15 15:42:56 SAST 2008
It takes 7 seconds to resolve localhost.
Any suggestions on how to debug? What to change?
I've changed the hostname of my machine to "lap1.local". I've tried changing it back to "localhost.localdomain", but it doesn't make any difference.