/
usr
/
lib
/
rads
/
venv
/
lib
/
python3.13
/
site-packages
/
dns
/
rdtypes
/
ANY
/
/usr/lib/rads/venv/lib/python3.13/site-packages/dns/rdtypes/ANY
mkdir
upload
Name
Size
Mode
Actions
__pycache__/
-
0755
rm
AFSDB.py
1661
0644
edit
dl
rm
AMTRELAY.py
3381
0644
edit
dl
rm
AVC.py
1024
0644
edit
dl
rm
CAA.py
2511
0644
edit
dl
rm
CDNSKEY.py
1225
0644
edit
dl
rm
CDS.py
1163
0644
edit
dl
rm
CERT.py
3533
0644
edit
dl
rm
CNAME.py
1206
0644
edit
dl
rm
CSYNC.py
2439
0644
edit
dl
rm
DLV.py
986
0644
edit
dl
rm
DNAME.py
1150
0644
edit
dl
rm
DNSKEY.py
1223
0644
edit
dl
rm
DS.py
995
0644
edit
dl
rm
EUI48.py
1151
0644
edit
dl
rm
EUI64.py
1161
0644
edit
dl
rm
GPOS.py
4439
0644
edit
dl
rm
HINFO.py
2217
0644
edit
dl
rm
HIP.py
3226
0644
edit
dl
rm
ISDN.py
2723
0644
edit
dl
rm
L32.py
1286
0644
edit
dl
rm
L64.py
1592
0644
edit
dl
rm
LOC.py
11995
0644
edit
dl
rm
LP.py
1338
0644
edit
dl
rm
MX.py
995
0644
edit
dl
rm
NID.py
1544
0644
edit
dl
rm
NINFO.py
1041
0644
edit
dl
rm
NS.py
995
0644
edit
dl
rm
NSEC.py
2465
0644
edit
dl
rm
NSEC3.py
4331
0644
edit
dl
rm
NSEC3PARAM.py
2635
0644
edit
dl
rm
OPENPGPKEY.py
1851
0644
edit
dl
rm
OPT.py
2561
0644
edit
dl
rm
PTR.py
997
0644
edit
dl
rm
RESINFO.py
1008
0644
edit
dl
rm
RP.py
2174
0644
edit
dl
rm
RRSIG.py
4922
0644
edit
dl
rm
RT.py
1013
0644
edit
dl
rm
SMIMEA.py
222
0644
edit
dl
rm
SOA.py
3145
0644
edit
dl
rm
SPF.py
1022
0644
edit
dl
rm
SSHFP.py
2530
0644
edit
dl
rm
TKEY.py
4927
0644
edit
dl
rm
TLSA.py
218
0644
edit
dl
rm
TSIG.py
4750
0644
edit
dl
rm
TXT.py
1000
0644
edit
dl
rm
URI.py
2921
0644
edit
dl
rm
WALLET.py
219
0644
edit
dl
rm
X25.py
1942
0644
edit
dl
rm
ZONEMD.py
2393
0644
edit
dl
rm
__init__.py
1526
0644
edit
dl
rm
Edit:
/usr/lib/rads/venv/lib/python3.13/site-packages/dns/rdtypes/ANY/AFSDB.py
(1661B)
# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license # Copyright (C) 2003-2007, 2009-2011 Nominum, Inc. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose with or without fee is hereby granted, # provided that the above copyright notice and this permission notice # appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. import dns.immutable import dns.rdtypes.mxbase @dns.immutable.immutable class AFSDB(dns.rdtypes.mxbase.UncompressedDowncasingMX): """AFSDB record""" # Use the property mechanism to make "subtype" an alias for the # "preference" attribute, and "hostname" an alias for the "exchange" # attribute. # # This lets us inherit the UncompressedMX implementation but lets # the caller use appropriate attribute names for the rdata type. # # We probably lose some performance vs. a cut-and-paste # implementation, but this way we don't copy code, and that's # good. @property def subtype(self): "the AFSDB subtype" return self.preference @property def hostname(self): "the AFSDB hostname" return self.exchange
Save
cmd:
run