gethostbyaddr()
От: softic  
Дата: 27.06.02 12:37
Оценка:
Функция gethostbyaddr() всегда возвращает:

Valid name, no data record of requested type.
The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. The usual example for this is a host name-to-address translation attempt (using gethostbyname or WSAAsyncGetHostByName) which uses the DNS (Domain Name Server). An MX record is returned but no A record—indicating the host itself exists, but is not directly reachable.

Что делать?
Re: gethostbyaddr()
От: zZz^KCN Украина http://herocraft.com
Дата: 29.06.02 08:21
Оценка:
Здравствуйте softic, Вы писали:

S>Функция gethostbyaddr() всегда возвращает:

Подробнее о "всегда"... (для одного адреса или для разных возвращает?)

S>Valid name, no data record of requested type.

S>The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. The usual example for this is a host name-to-address translation attempt (using gethostbyname or WSAAsyncGetHostByName) which uses the DNS (Domain Name Server). An MX record is returned but no A record—indicating the host itself exists, but is not directly reachable.

S>Что делать?

как себя ведут ping с nslookup'ом?
С уважением, Анатолий. Технический директор Herocraft Ukraine
--
Главный Метод Разработки ПО:К верхнему днищу бака было приварено треугольное отверстие диаметром три на четыре.
Re: gethostbyaddr()
От: Gosha Украина  
Дата: 30.06.02 16:10
Оценка:
Здравствуйте softic, Вы писали:

S>Функция gethostbyaddr() всегда возвращает:


S>Valid name, no data record of requested type.

S>The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. The usual example for this is a host name-to-address translation attempt (using gethostbyname or WSAAsyncGetHostByName) which uses the DNS (Domain Name Server). An MX record is returned but no A record—indicating the host itself exists, but is not directly reachable.

S>Что делать?

Прочитать вот это для начала
Автор: Gosha
Дата: 28.05.02
. Нету под тем адресом имени никакого, потому gethostbyaddr() и глючит. Andrey_N_M был так любезен и предложил решение (оно там же) за что ему наше большое человеческое спасибо
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.