const char* ext_dns_message_query_name ( extDnsCtx ctx,
extDnsMessage message 

Convenient function to get the query name being asked in the message (no matter if it is a query or reply).

ctxThe context where the operation will take place.
messageThe message where the query name is being asked.
The query name value or NULL if it fails.

References _extDnsQuestion::qname, and _extDnsMessage::questions.