rdata-set-classes.rst 808 B

1234567891011121314151617181920212223242526
  1. .. _rdata-set-classes:
  2. Rdataset, RRset and Node Classes
  3. ================================
  4. An ``Rdataset`` is a set of ``Rdata`` objects which all have the same
  5. rdatatype, rdataclass, and covered type. ``Rdatasets`` also have a
  6. ``ttl`` (DNS time-to-live) field. Rdatasets support the normal Python
  7. set API, but are also ordered.
  8. An ``RRset`` is a subclass of ``Rdataset`` that also has an owner
  9. name, i.e. a ``dns.name.Name`` that says where in the DNS tree this
  10. set is located.
  11. A ``Node`` is a set of ``Rdataset`` objects, the Rdatasets being
  12. interpreted as at the same place (i.e. same owner name) int the DNS
  13. tree. Nodes are primarily used in ``Zone`` objects.
  14. .. autoclass:: dns.rdataset.Rdataset
  15. :members:
  16. .. autoclass:: dns.rrset.RRset
  17. :members:
  18. .. autoclass:: dns.node.Node
  19. :members: