Seblu: > > and after a test my binary return a good resolution > > ./a.out > server: got connection from 192.42.42.1 > host=toto.titi > > and the function gethostbyaddr return also a good answer !
Ok, now you should learn to find out what configuration files your program uses. $ krtrace ./a.out $ kdump | grep NAMI | grep /etc Obviously, the Postfix smtpd process is not using those files. Have you considered the possiblity of a mis-configured /var/spool/postfix/etc/resolv.conf /var/spool/postfix/etc/hosts or some other configuration file used by getnameinfo()? Wietse > I don't do a system OpenBSD bug report because, because all others > soft have a normal behaviour. > > If you don't have an idear, i can try with openbsd dev, like Wietse > suggest to me. > > -- > S?bastien Luttringer > www.seblu.net > >