Asterisk - The Open Source Telephony Project  21.4.1
Data Structures | Data Fields
ast_dns_result Struct Reference

The result of a DNS query. More...

#include <dns_internal.h>

Data Structures

struct  dns_records
 Records returned. More...
 

Data Fields

const char * answer
 The raw DNS answer.
 
size_t answer_size
 The size of the raw DNS answer.
 
unsigned int bogus
 Whether the result is bogus.
 
char buf [0]
 Buffer for dynamic data.
 
const char * canonical
 The canonical name.
 
unsigned int rcode
 Optional rcode, set if an error occurred.
 
struct ast_dns_result::dns_records records
 
unsigned int secure
 Whether the result is secure.
 

Detailed Description

The result of a DNS query.

Definition at line 117 of file dns_internal.h.


The documentation for this struct was generated from the following file: