1823753 Members
3962 Online
109664 Solutions
New Discussion юеВ

gethostbyaddr

 
moon_5
Advisor

gethostbyaddr

Hi all~

I found this messages in the mail.log

gethostbyaddr(192.168.11.110) failed: 1
gethostbyaddr(200.100.100.100) failed: 1

this system running on 11.11 under mc/sg
and network condition is good

I want this message disappear in the log file.
what do I have to do?

regards
moon
5 REPLIES 5
Techtricks
Advisor

Re: gethostbyaddr

Hi Moon,

Have you configured " NIS " or " NIS +"

If you have configured Naming server then
you need to check with the HOST maps.

Regards

TechTricks
Suraj Singh_1
Trusted Contributor

Re: gethostbyaddr

Hi,

Seems to be a name resolution issue to me.

Try reverse lookup on those IP addresses, i.e,

# nslookup 192.168.11.110
# nslookup 200.100.100.100

What is the o/p of these commands? You would be able to figure out what's happening by these outputs.

Regards
What we cannot speak about we must pass over in silence.
moon_5
Advisor

Re: gethostbyaddr


Those ip addresss are not registerd in /etc/hosts file.

$nslookup 192.168.11.110
Using /etc/hosts on: erpDB

looking up FILES
*** No hostname information is available for "192.168.11.110"



Techtricks
Advisor

Re: gethostbyaddr

Hi Moon,

The IP addr 192.168.11.110 will be not reg-
-stered, thiw will be the private IP, required for HEARDBEAT. Hence it will be
not regested. Can u tell me weather u have
NIS or not in ur domain.

Regards

TechTricks
Suraj Singh_1
Trusted Contributor

Re: gethostbyaddr

Hi,

Can you provide "netstat -in" and "lanscan" outputs.

I think you would need to make an entry in /etc/hosts file.

Also, i don't think these errors has anything to do with MC/SG. These are sendmail messages.

Regards
What we cannot speak about we must pass over in silence.