.\" Copyright (c) 2018-2023, OARC, Inc. .\" All rights reserved. .\" .\" This file is part of dnsjit. .\" .\" dnsjit is free software: you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation, either version 3 of the License, or .\" (at your option) any later version. .\" .\" dnsjit is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with dnsjit. If not, see . .\" .TH dnsjit.core.object.dns.rr 3 "1.3.0" "dnsjit" .SH NAME dnsjit.core.object.dns.rr \- Container of a DNS resource record .SH DESCRIPTION The object that describes a DNS resource record. .SS Attributes .TP have_type Set if there is a type. .TP have_class Set if there is a class. .TP have_ttl Set if there is a ttl. .TP have_rdlength Set if there is a rdlength. .TP have_rdata Set if there is resource record data. .TP have_rdata_labels Set if there are any labels within the rdata. .TP have_padding Set if there is padding. .TP type The type. .TP class The class. .TP ttl The TTL. .TP rdlength The resource record data length. .TP labels The number of labels found in the record. .TP rdata_offset The offset within the payload for the resource record data. .TP rdata_labels The number of labels found inside the resource record data. .TP padding_offset The offset within the payload where the padding starts. .TP padding_length The length of the padding. .SS Functions .TP .BR Rr.new "()" Create a new resource record. .SH SEE ALSO .BR dnsjit.core.object.dns (3) .SH AUTHORS and CONTRIBUTORS Jerry Lundström (DNS-OARC), Tomáš Křížek (CZ.NIC), Petr Špaček (ISC) .LP Maintained by DNS-OARC .LP .RS .I https://www.dns-oarc.net/ .RE .LP .SH BUGS For issues and feature requests please use: .LP .RS \fIhttps://github.com/DNS-OARC/dnsjit/issues\fP .RE .LP For question and help please use: .LP .RS \fIadmin@dns-oarc.net\fP .RE .LP