Source code for asyncdnspy.dnspy_enum

#!/usr/bin/env python

from enum import Enum


[docs]class RecordType(Enum): """DNS message and response record types.""" a = 1 aaaa = 28 afsdb = 18 apl = 42 caa = 257 cdnskey = 60 cds = 59 cert = 37 cname = 5 csync = 62 dhcid = 49 dlv = 32769 dname = 39 dnskey = 48 ds = 43 hip = 55 ipseckey = 45 key = 25 kx = 36 loc = 29 mx = 15 naptr = 35 ns = 2 nsec = 47 nsec3 = 50 nsec3param = 51 openpgpkey = 61 ptr = 12 rrsig = 46 rp = 17 sig = 24 smimea = 53 soa = 6 srv = 33 sshfp = 44 ta = 32768 tkey = 249 tlsa = 52 tsig = 250 txt = 16 uri = 256
[docs]class SocketType(Enum): """Socket types.""" tcp = 1 udp = 2