Catch the case where the domain exists, but SRV records don't
This commit is contained in:
parent
825ee7c81f
commit
393e75930b
1 changed files with 2 additions and 1 deletions
|
@ -216,7 +216,8 @@
|
|||
answerLen = res_nsearch(&resState, [request cString], ns_c_in,
|
||||
ns_t_srv, answer, (int)of_pagesize);
|
||||
|
||||
if ((answerLen == -1) && (h_errno == HOST_NOT_FOUND))
|
||||
if ((answerLen == -1) && ((h_errno == HOST_NOT_FOUND) ||
|
||||
(h_errno == NO_DATA)))
|
||||
return;
|
||||
|
||||
if (answerLen < 1 || answerLen > of_pagesize) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue