OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: "Name service error for name=localhost type=A" Error

From: Ryan Knopp (ryantheknopps.com)
Date: Fri Feb 13 2004 - 12:12:24 CST


Then you have to be more specific.

>>What machine reports the problem?
My linux machine that's running Postfix reports this problem.

>>What is the complete message in the maillogfile?
>>>>>>>>Feb 13 09:50:20 linux postfix/master[2626]: fatal: parameter
inet_interfaces: no local interface found for 67.160.40.22
My inet_interfaces in my main.cf is commented out. Also this is the
error that comes in my root account and my ryan email account
>>>>>>>><ryantheknopps.com <mailto:ryantheknopps.com>>: Name service
error for name=localhost type=A: Host not found

>>What machine is running Postfix?
linux.myrealdomain.com is the name of the machine
it sits on 192.168.0.101 and 67.160.40.22 on port 25

>>What machine is the client?
A windows box that sits on 192.168.0.106 sending mail using the full
name qualifier (ex. ryanmyrealdomain.com) this machine is used for
testing purposes.

Could this be that my hosts file is wrong?
it's currently this
>>127.0.0.1 localhost
>>127.0.0.2 linux.theknopps.com linux

Thanks for your help
Ryan Knopp

Should I be adding my real internet IP and my local network ip also?