diff options
| author | Bob Halley <halley@dnspython.org> | 2005-09-02 05:22:35 +0000 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2005-09-02 05:22:35 +0000 |
| commit | de97096707a2b0fe4ec55c438f592276ad11b6dd (patch) | |
| tree | 0bc0c4ea4015e067420bbeac673428c94993aa1b | |
| parent | 07c1fb5c5f054bf12ec5835afb94e5681112715a (diff) | |
| download | dnspython-de97096707a2b0fe4ec55c438f592276ad11b6dd.tar.gz | |
add SSHFP RR
Original author: Bob Halley <halley@dnspython.org>
Date: 2004-05-22 10:00:36
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | dns/rdatatype.py | 2 | ||||
| -rw-r--r-- | tests/example | 1 | ||||
| -rw-r--r-- | tests/example1.good | 1 | ||||
| -rw-r--r-- | tests/example2.good | 1 |
5 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2004-05-22 Bob Halley <halley@dnspython.org> + + * dns/rdtypes/ANY/SSHFP.py: Added support for the proposed SSHFP + RR type. + 2004-05-14 Bob Halley <halley@dnspython.org> * dns/rdata.py (from_text): The masterfile reader did not diff --git a/dns/rdatatype.py b/dns/rdatatype.py index 20f0303..329c498 100644 --- a/dns/rdatatype.py +++ b/dns/rdatatype.py @@ -72,6 +72,7 @@ DNAME = 39 OPT = 41 APL = 42 DS = 43 +SSHFP = 44 RRSIG = 46 NSEC = 47 DNSKEY = 48 @@ -125,6 +126,7 @@ _by_text = { 'OPT' : OPT, 'APL' : APL, 'DS' : DS, + 'SSHFP' : SSHFP, 'RRSIG' : RRSIG, 'NSEC' : NSEC, 'DNSKEY' : DNSKEY, diff --git a/tests/example b/tests/example index c34b5a6..4dcb0f1 100644 --- a/tests/example +++ b/tests/example @@ -201,3 +201,4 @@ dnskey02 DNSKEY HOST|FLAG4 DNSSEC RSAMD5 ( ; test known type using unknown RR syntax ; unknown3 A \# 4 7f000002 +sshfp1 SSHFP 1 1 aa549bfe898489c02d1715d97d79c57ba2fa76ab diff --git a/tests/example1.good b/tests/example1.good index c57bb65..4cd2d64 100644 --- a/tests/example1.good +++ b/tests/example1.good @@ -78,6 +78,7 @@ ns.s 300 IN A 73.80.65.49 sig01 3600 IN SIG NXT 1 3 3600 20200101000000 20030101000000 2143 foo MxFcby9k/yvedMfQgKzhH5er0Mu/vILz 45IkskceFGgiWCn/GxHhai6VAuHAoNUz 4YoU1tVfSCSqQYn6//11U6Nld80jEeC8 aTrO+KKmCaY= srv01 3600 IN SRV 0 0 0 . srv02 3600 IN SRV 65535 65535 65535 old-slow-box.example.com. +sshfp1 3600 IN SSHFP 1 1 aa549bfe898489c02d1715d97d79c57ba2fa76ab t 301 IN A 73.80.65.49 txt01 3600 IN TXT "foo" txt02 3600 IN TXT "foo" "bar" diff --git a/tests/example2.good b/tests/example2.good index 88549a3..5cf5a4c 100644 --- a/tests/example2.good +++ b/tests/example2.good @@ -78,6 +78,7 @@ ns.s.example. 300 IN A 73.80.65.49 sig01.example. 3600 IN SIG NXT 1 3 3600 20200101000000 20030101000000 2143 foo.example. MxFcby9k/yvedMfQgKzhH5er0Mu/vILz 45IkskceFGgiWCn/GxHhai6VAuHAoNUz 4YoU1tVfSCSqQYn6//11U6Nld80jEeC8 aTrO+KKmCaY= srv01.example. 3600 IN SRV 0 0 0 . srv02.example. 3600 IN SRV 65535 65535 65535 old-slow-box.example.com. +sshfp1.example. 3600 IN SSHFP 1 1 aa549bfe898489c02d1715d97d79c57ba2fa76ab t.example. 301 IN A 73.80.65.49 txt01.example. 3600 IN TXT "foo" txt02.example. 3600 IN TXT "foo" "bar" |
