1ldns(3)                    Library Functions Manual                    ldns(3)
2
3
4

NAME

6       ldns_dname_is_subdomain, ldns_dname_str_absolute, ldns_dname_label -
7       check properties of dnames
8
9

SYNOPSIS

11       #include <stdint.h>
12       #include <stdbool.h>
13
14       #include <ldns/ldns.h>
15
16       bool ldns_dname_is_subdomain(const ldns_rdf *sub, const ldns_rdf *par‐
17       ent);
18
19       bool ldns_dname_str_absolute(const char *dname_str);
20
21       ldns_rdf * ldns_dname_label(const ldns_rdf *rdf, uint8_t labelpos);
22

DESCRIPTION

24       ldns_dname_is_subdomain() test whether the name sub falls under parent
25              (i.e. is a subdomain of parent). This function will return false
26              if the given dnames are equal.
27              sub: the name to test
28              parent: the parent's name
29              Returns true if sub falls under parent, otherwise false
30
31       ldns_dname_str_absolute() Checks whether the given dname string is ab‐
32              solute (i.e. ends with a '.')
33              *dname_str: a string representing the dname
34              Returns true or false
35
36       ldns_dname_label() look inside the rdf and if it is an
37              LDNS_RDF_TYPE_DNAME try and retrieve a specific label. The la‐
38              bels are numbered starting from 0 (left most).
39              rdf: the rdf to look in
40              labelpos: return the label with this number
41              Returns a ldns_rdf* with the label as name or NULL on error
42

AUTHOR

44       The ldns team at NLnet Labs.
45
46

REPORTING BUGS

48       Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
49       http://www.nlnetlabs.nl/bugs/index.html
50
51
53       Copyright (c) 2004 - 2006 NLnet Labs.
54
55       Licensed under the BSD License. There is NO warranty; not even for MER‐
56       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
57

SEE ALSO

59       perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
60

REMARKS

62       This manpage was automatically generated from the ldns source code.
63
64
65
66                                  30 May 2006                          ldns(3)
Impressum