|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Wietse Venema (wietse
porcupine.org)
Date: Mon Jan 07 2008 - 13:32:37 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Leonardo Rodrigues Magalhães:
> Wietse Venema escreveu:
> > Leonardo Rodrigues Magalh?es:
> >
> >> Wietse Venema escreveu:
> >>
> >>> Apparently, the getnameinfo() SYSTEM LIBRARY ROUTINE reports
> >>> an error when Postfix asks for the reverse client name.
> >>>
> >>>
> >> is it possible for me to test the getnameinfo() routine somehow from
> >> a shell console ? Using bind 'host' command shows the hundred PTRs just
> >> fine .... but i dont know if host uses getnameinfo() for doing the
> >> resolution .....
> >>
> >
> > Postfix source code comes with getnameinfo and getaddrinfo test
> > programs, in the directory auxiliary/name-addr-test.
> >
>
> Yeah ..... getnameinfo is returning 'unknown' for this damn multiple
> PTRs host ....
>
> [root
hermes name-addr-test]# cat /etc/fedora-release
> Fedora Core release 5 (Bordeaux)
> [root
hermes name-addr-test]#
> [root
hermes name-addr-test]# ./getnameinfo 201.34.255.58
> getnameinfo 201.34.255.58: Name or service not known
> [root
hermes name-addr-test]# ./getaddrinfo 201.34.255.58
> Hostname: 201.34.255.58
> Addresses: 201.34.255.58
> [root
hermes name-addr-test]#
Sorry about that. Over here:
bristle% ./getnameinfo 201.34.255.58
Hostname: webmail.beefmaster.com.br
Address: 201.34.255.58
Earlier, "getaddrinfo webmail.beefmaster.com.br" reported
the 201.34.255.58 address, but now it returns "not found".
Wietse
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]