Query: lwres_config
OS: freebsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
LWRES_CONFIG(3) BIND9 LWRES_CONFIG(3)NAMElwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get - lightweight resolver configurationSYNOPSIS#include <lwres/lwres.h> void lwres_conf_init(lwres_context_t *ctx); void lwres_conf_clear(lwres_context_t *ctx); lwres_result_t lwres_conf_parse(lwres_context_t *ctx, const char *filename); lwres_result_t lwres_conf_print(lwres_context_t *ctx, FILE *fp); lwres_conf_t * lwres_conf_get(lwres_context_t *ctx);DESCRIPTIONlwres_conf_init() creates an empty lwres_conf_t structure for lightweight resolver context ctx. lwres_conf_clear() frees up all the internal memory used by that lwres_conf_t structure in resolver context ctx. lwres_conf_parse() opens the file filename and parses it to initialise the resolver context ctx's lwres_conf_t structure. lwres_conf_print() prints the lwres_conf_t structure for resolver context ctx to the FILE fp.RETURN VALUESlwres_conf_parse() returns LWRES_R_SUCCESS if it successfully read and parsed filename. It returns LWRES_R_FAILURE if filename could not be opened or contained incorrect resolver statements. lwres_conf_print() returns LWRES_R_SUCCESS unless an error occurred when converting the network addresses to a numeric host address string. If this happens, the function returns LWRES_R_FAILURE.SEE ALSOstdio(3), resolver(5).FILES/etc/resolv.confCOPYRIGHTCopyright (C) 2004, 2005, 2007, 2012 Internet Systems Consortium, Inc. ("ISC") Copyright (C) 2000, 2001 Internet Software Consortium. BIND9 Jun 30, 2000 LWRES_CONFIG(3)
Related Man Pages |
---|
lwres_conf_clear(3) - debian |
lwres_conf_print(3) - debian |
lwres_conf_get(3) - centos |
lwres_conf_init(3) - centos |
lwres_config(3) - redhat |
Similar Topics in the Unix Linux Community |
---|
The Whole Story on #! /usr/bin/ksh |
Scripts without shebang |
Memory Leaks |
A simple UNIXtime component in Vue.js |
UNIX Environment Setup - (Just starting!) |