shishi_resolv(3)

shishi_resolv3

Api function

Usage

#include <shishi.h>

Shishi_dns shishi_resolv(const char * zone, uint16_t querytype);

Arguments

const char * zone

Domain name of authentication zone, e.g. "EXAMPLE.ORG"

uint16_t querytype

Type of domain data to query for.

Overview

Queries the DNS resolver for data of type querytype about the domain name zone. Currently, the types SHISHI_DNS_TXT and SHISHI_DNS_SRV are the only supported kinds.

After its use, the returned list should be deallocated by a call to shishi_resolv_free().

Return value

Returns a linked list of DNS resource records, or NULL if the query failed.

Releases

10 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8–11
  6. 12–13

Reporting bugs

Report bugs to <[email protected]>. GNU Shishi home page: http://www.gnu.org/software/shishi/ General help using GNU software: http://www.gnu.org/gethelp/

From shishi-doc 1.0.3-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.