Linux Manuals

The Linux Manuals (man pages) document is an important part of Linux documents. Linux Manuals are organized as several sections. Each section has a group of commands for a specific area in Linux usage, administration or development.

  • |

    ldns_str_remove_comment (3) Linux Manual Page

    ldns_str_remove_comment Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h>  ldns_str_remove_comment(); Description ldns_str_remove_comment()AuthorThe ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben. Reporting BugsPlease report bugs to ldns-team [at] nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html CopyrightCopyright (c) 2004 – 2006 NLnet Labs. Licensed under the BSD License. There is NO warranty; not…

  • |

    ldns_str2period (3) Linux Manual Page

    ldns_str2period Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> uint32_t ldns_str2period(const char *nptr, const char **endptr); Description ldns_str2period() converts a ttl value (like 5d2h) to a long. .br nptr: the start of the string .br endptr: points to the last char in case of error .br Returns the convert duration valueAuthorThe ldns team at NLnet Labs. Which…

  • |

    ldns_status (3) Linux Manual Page

    ldns_status Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h>  ldns_status(); Description ldns_status()AuthorThe ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben. Reporting BugsPlease report bugs to ldns-team [at] nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html CopyrightCopyright (c) 2004 – 2006 NLnet Labs. Licensed under the BSD License. There is NO warranty; not…

  • |

    ldns_sign_public_rsasha1 (3) Linux Manual Page

    ldns_sign_public_dsa, ldns_sign_public_rsamd5, ldns_sign_public_rsasha1 Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_rdf* ldns_sign_public_dsa(ldns_buffer *to_sign, DSA *key); ldns_rdf* ldns_sign_public_rsamd5(ldns_buffer *to_sign, RSA *key); ldns_rdf* ldns_sign_public_rsasha1(ldns_buffer *to_sign, RSA *key); Description ldns_sign_public_dsa() Sign a buffer with the DSA key (hash with SHA1) .br to_sign: buffer with the data .br key: the key to use .br Returns a ldns_rdf with the signed…

  • |

    ldns_sign_public_rsamd5 (3) Linux Manual Page

    ldns_sign_public_dsa, ldns_sign_public_rsamd5, ldns_sign_public_rsasha1 Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_rdf* ldns_sign_public_dsa(ldns_buffer *to_sign, DSA *key); ldns_rdf* ldns_sign_public_rsamd5(ldns_buffer *to_sign, RSA *key); ldns_rdf* ldns_sign_public_rsasha1(ldns_buffer *to_sign, RSA *key); Description ldns_sign_public_dsa() Sign a buffer with the DSA key (hash with SHA1) .br to_sign: buffer with the data .br key: the key to use .br Returns a ldns_rdf with the signed…

  • |

    ldns_sign_public_dsa (3) Linux Manual Page

    ldns_sign_public_dsa, ldns_sign_public_rsamd5, ldns_sign_public_rsasha1 Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_rdf* ldns_sign_public_dsa(ldns_buffer *to_sign, DSA *key); ldns_rdf* ldns_sign_public_rsamd5(ldns_buffer *to_sign, RSA *key); ldns_rdf* ldns_sign_public_rsasha1(ldns_buffer *to_sign, RSA *key); Description ldns_sign_public_dsa() Sign a buffer with the DSA key (hash with SHA1) .br to_sign: buffer with the data .br key: the key to use .br Returns a ldns_rdf with the signed…

  • |

    ldns_sign_public (3) Linux Manual Page

    ldns_sign_public Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_rr_list* ldns_sign_public(ldns_rr_list *rrset, ldns_key_list *keys); Description ldns_sign_public() Sign an rrset .br rrset: the rrset .br keys: the keys to use .br Returns a rr_list with the signaturesAuthorThe ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben. Reporting BugsPlease report bugs to ldns-team [at]…

  • |

    ldns_send (3) Linux Manual Page

    ldns_send Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_status ldns_send(ldns_pkt **pkt, ldns_resolver *r, const ldns_pkt *query_pkt); Description ldns_send() Sends ptk to the nameserver at the resolver object. Returns the data as a ldns_pkt .br pkt: packet received from the nameserver .br r: the resolver to use .br query_pkt: the query to send .br Returns statusAuthorThe ldns…

  • |

    ldns_rrsig2buffer_wire (3) Linux Manual Page

    ldns_pkt2buffer_str, ldns_pktheader2buffer_str, ldns_rr2buffer_str, ldns_rr_list2buffer_str, ldns_rdf2buffer_str, ldns_key2buffer_str, ldns_pkt2buffer_wire, ldns_rr2buffer_wire, ldns_rdf2buffer_wire, ldns_rrsig2buffer_wire, ldns_rr_rdata2buffer_wire Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_status ldns_pkt2buffer_str(ldns_buffer *output, const ldns_pkt *pkt); ldns_status ldns_pktheader2buffer_str(ldns_buffer *output, const ldns_pkt *pkt); ldns_status ldns_rr2buffer_str(ldns_buffer *output, const ldns_rr *rr); ldns_status ldns_rr_list2buffer_str(ldns_buffer *output, const ldns_rr_list *list); ldns_status ldns_rdf2buffer_str(ldns_buffer *output, const ldns_rdf *rdf); ldns_status ldns_key2buffer_str(ldns_buffer *output, const ldns_key *k); ldns_status ldns_pkt2buffer_wire(ldns_buffer…

  • |

    ldns_rr_uncompressed_size (3) Linux Manual Page

    ldns_rr_uncompressed_size Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> size_t ldns_rr_uncompressed_size(const ldns_rr *r); Description ldns_rr_uncompressed_size() calculates the uncompressed size of an RR. .br r: the rr to operate on .br Returns size of the rrAuthorThe ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben. Reporting BugsPlease report bugs to ldns-team [at] nlnetlabs.nl…

  • |

    ldns_rr_type (3) Linux Manual Page

    ldns_rr, ldns_rr_class, ldns_rr_type, ldns_rr_compress, ldns_rr_list Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> Description ldns_rr Resource Record This is the basic DNS element that contains actual data From RFC1035: <pre> 3.2.1. Format All RRs have the same top level format shown below:                               1  1  1  1  1  1 0  1  2  3  4  5  6  7  8  9  0  1  2  3  4  5  +–+–+–+–+–+–+–+–+–+–+–+–+–+–+–+–+  |                                               |  /                                               /  /                      NAME                     /  |                                               |  +–+–+–+–+–+–+–+–+–+–+–+–+–+–+–+–+  |                      TYPE                     |  +–+–+–+–+–+–+–+–+–+–+–+–+–+–+–+–+  |                     CLASS                     |  +–+–+–+–+–+–+–+–+–+–+–+–+–+–+–+–+  |                      TTL                      |  |                                               |  +–+–+–+–+–+–+–+–+–+–+–+–+–+–+–+–+…

  • |

    ldns_rr_ttl (3) Linux Manual Page

    ldns_rr_rdf, ldns_rr_owner, ldns_rr_rd_count, ldns_rr_ttl, ldns_rr_get_class Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_rdf* ldns_rr_rdf(const ldns_rr *rr, size_t nr); ldns_rdf* ldns_rr_owner(const ldns_rr *rr); size_t ldns_rr_rd_count(const ldns_rr *rr); uint32_t ldns_rr_ttl(const ldns_rr *rr); ldns_rr_class ldns_rr_get_class(const ldns_rr *rr); Description ldns_rr_rdf() returns the rdata field member counter. .br *rr: rr to operate on .br nr: the number of the rdf to…

  • |

    ldns_rr_set_type (3) Linux Manual Page

    ldns_rr_set_owner, ldns_rr_set_ttl, ldns_rr_set_type, ldns_rr_set_rd_count, ldns_rr_set_class, ldns_rr_set_rdf Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> void ldns_rr_set_owner(ldns_rr *rr, ldns_rdf *owner); void ldns_rr_set_ttl(ldns_rr *rr, uint32_t ttl); void ldns_rr_set_type(ldns_rr *rr, ldns_rr_type rr_type); void ldns_rr_set_rd_count(ldns_rr *rr, size_t count); void ldns_rr_set_class(ldns_rr *rr, ldns_rr_class rr_class); ldns_rdf* ldns_rr_set_rdf(ldns_rr *rr, const ldns_rdf *f, size_t position); Description ldns_rr_set_owner() sets the owner in the rr structure. .br…

  • |

    ldns_rr_set_ttl (3) Linux Manual Page

    ldns_rr_set_owner, ldns_rr_set_ttl, ldns_rr_set_type, ldns_rr_set_rd_count, ldns_rr_set_class, ldns_rr_set_rdf Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> void ldns_rr_set_owner(ldns_rr *rr, ldns_rdf *owner); void ldns_rr_set_ttl(ldns_rr *rr, uint32_t ttl); void ldns_rr_set_type(ldns_rr *rr, ldns_rr_type rr_type); void ldns_rr_set_rd_count(ldns_rr *rr, size_t count); void ldns_rr_set_class(ldns_rr *rr, ldns_rr_class rr_class); ldns_rdf* ldns_rr_set_rdf(ldns_rr *rr, const ldns_rdf *f, size_t position); Description ldns_rr_set_owner() sets the owner in the rr structure. .br…

  • |

    ldns_rr_set_rdf (3) Linux Manual Page

    ldns_rr_set_owner, ldns_rr_set_ttl, ldns_rr_set_type, ldns_rr_set_rd_count, ldns_rr_set_class, ldns_rr_set_rdf Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> void ldns_rr_set_owner(ldns_rr *rr, ldns_rdf *owner); void ldns_rr_set_ttl(ldns_rr *rr, uint32_t ttl); void ldns_rr_set_type(ldns_rr *rr, ldns_rr_type rr_type); void ldns_rr_set_rd_count(ldns_rr *rr, size_t count); void ldns_rr_set_class(ldns_rr *rr, ldns_rr_class rr_class); ldns_rdf* ldns_rr_set_rdf(ldns_rr *rr, const ldns_rdf *f, size_t position); Description ldns_rr_set_owner() sets the owner in the rr structure. .br…

  • |

    ldns_rr_set_rd_count (3) Linux Manual Page

    ldns_rr_set_owner, ldns_rr_set_ttl, ldns_rr_set_type, ldns_rr_set_rd_count, ldns_rr_set_class, ldns_rr_set_rdf Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> void ldns_rr_set_owner(ldns_rr *rr, ldns_rdf *owner); void ldns_rr_set_ttl(ldns_rr *rr, uint32_t ttl); void ldns_rr_set_type(ldns_rr *rr, ldns_rr_type rr_type); void ldns_rr_set_rd_count(ldns_rr *rr, size_t count); void ldns_rr_set_class(ldns_rr *rr, ldns_rr_class rr_class); ldns_rdf* ldns_rr_set_rdf(ldns_rr *rr, const ldns_rdf *f, size_t position); Description ldns_rr_set_owner() sets the owner in the rr structure. .br…

  • |

    ldns_rr_set_push_rr (3) Linux Manual Page

    ldns_rr_set_push_rr, ldns_rr_set_pop_rr Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> bool ldns_rr_set_push_rr(ldns_rr_list *rr_list, ldns_rr *rr); ldns_rr* ldns_rr_set_pop_rr(ldns_rr_list *rr_list); Description ldns_rr_set_push_rr() pushes an rr to an rrset (which really are rr_list’s). .br *rr_list: the rrset to push the rr to .br *rr: the rr to push .br Returns true if the push succeeded otherwise false ldns_rr_set_pop_rr() pops the…

  • |

    ldns_rr_set_pop_rr (3) Linux Manual Page

    ldns_rr_set_push_rr, ldns_rr_set_pop_rr Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> bool ldns_rr_set_push_rr(ldns_rr_list *rr_list, ldns_rr *rr); ldns_rr* ldns_rr_set_pop_rr(ldns_rr_list *rr_list); Description ldns_rr_set_push_rr() pushes an rr to an rrset (which really are rr_list’s). .br *rr_list: the rrset to push the rr to .br *rr: the rr to push .br Returns true if the push succeeded otherwise false ldns_rr_set_pop_rr() pops the…

  • |

    ldns_rr_set_owner (3) Linux Manual Page

    ldns_rr_set_owner, ldns_rr_set_ttl, ldns_rr_set_type, ldns_rr_set_rd_count, ldns_rr_set_class, ldns_rr_set_rdf Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> void ldns_rr_set_owner(ldns_rr *rr, ldns_rdf *owner); void ldns_rr_set_ttl(ldns_rr *rr, uint32_t ttl); void ldns_rr_set_type(ldns_rr *rr, ldns_rr_type rr_type); void ldns_rr_set_rd_count(ldns_rr *rr, size_t count); void ldns_rr_set_class(ldns_rr *rr, ldns_rr_class rr_class); ldns_rdf* ldns_rr_set_rdf(ldns_rr *rr, const ldns_rdf *f, size_t position); Description ldns_rr_set_owner() sets the owner in the rr structure. .br…

  • |

    ldns_rr_set_class (3) Linux Manual Page

    ldns_rr_set_owner, ldns_rr_set_ttl, ldns_rr_set_type, ldns_rr_set_rd_count, ldns_rr_set_class, ldns_rr_set_rdf Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> void ldns_rr_set_owner(ldns_rr *rr, ldns_rdf *owner); void ldns_rr_set_ttl(ldns_rr *rr, uint32_t ttl); void ldns_rr_set_type(ldns_rr *rr, ldns_rr_type rr_type); void ldns_rr_set_rd_count(ldns_rr *rr, size_t count); void ldns_rr_set_class(ldns_rr *rr, ldns_rr_class rr_class); ldns_rdf* ldns_rr_set_rdf(ldns_rr *rr, const ldns_rdf *f, size_t position); Description ldns_rr_set_owner() sets the owner in the rr structure. .br…