gethostbyaddr

jose.a.campos at exxonmobil.com jose.a.campos at exxonmobil.com
Tue Apr 27 16:45:14 UTC 2004


Hello,
I've got a problem with this function. This has been discussed here before
but I could not find a resolution.
I'm running on HPUX 11 - bind 4.9.

Looks like the function is running in what's been called 'paranoid mode' -
it invokes gethostbyname, and if the IP addresses do not match, it'll flag
it as an error.  I know the A and PTR records should match, but in my case
I'm dealing with router interfaces and my monitoring tool gets very upset
when finding multiple 'A' records for the same device.  So, I only have one
'A' record, but mant PTR records that point to the same name.

Anyhow, gethostbyaddr flags this as an error.  It's been mentioned here
before that this 'paranoid mode' can be disabled - ie, it won't call
gethostbyname.  Does anyone know how to disable it ?

Thanks,

Jose Campos
ExxonMobil
GIS / ETSS / NED / NIM / Network Management
Phone : 713-656-1533   Fax: 713-656-0639
Internet:  Jose.A.Campos at exxonmobil.com



More information about the bind-users mailing list