mirror of https://github.com/getdnsapi/getdns.git
Replace IP queries with domain name
This commit is contained in:
parent
e5dc5a7fba
commit
d8b0df8259
|
@ -185,7 +185,7 @@
|
||||||
|
|
||||||
for(i = 0; i < 10; i++)
|
for(i = 0; i < 10; i++)
|
||||||
{
|
{
|
||||||
ASSERT_RC(getdns_address(context, "8.8.8.8", NULL,
|
ASSERT_RC(getdns_address(context, "google.com", NULL,
|
||||||
NULL, &transaction_id, cancel_callbackfn),
|
NULL, &transaction_id, cancel_callbackfn),
|
||||||
GETDNS_RETURN_GOOD, "Return code from getdns_address()");
|
GETDNS_RETURN_GOOD, "Return code from getdns_address()");
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
CONTEXT_CREATE(TRUE);
|
CONTEXT_CREATE(TRUE);
|
||||||
EVENT_BASE_CREATE;
|
EVENT_BASE_CREATE;
|
||||||
|
|
||||||
ASSERT_RC(getdns_address(context, "8.8.8.8", NULL,
|
ASSERT_RC(getdns_address(context, "google.com", NULL,
|
||||||
verify_getdns_context_destroy, &transaction_id, callbackfn),
|
verify_getdns_context_destroy, &transaction_id, callbackfn),
|
||||||
GETDNS_RETURN_GOOD, "Return code from getdns_address()");
|
GETDNS_RETURN_GOOD, "Return code from getdns_address()");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue