name-class.rst 521 B

123456789101112131415161718192021
  1. .. _name-class:
  2. The dns.name.Name Class and Predefined Names
  3. --------------------------------------------
  4. .. autoclass:: dns.name.Name
  5. :members:
  6. .. attribute:: labels
  7. A tuple of ``binary`` in DNS wire format specifying the DNS
  8. labels in the name, in order from least-signficiant label
  9. (i.e. farthest from the origin) to most-significant label.
  10. .. data:: dns.name.root
  11. The root name, i.e. ``dns.name.Name([b''])``.
  12. .. data:: dns.name.empty
  13. The empty name, i.e. ``dns.name.Name([])``.