summaryrefslogtreecommitdiffstats
path: root/net/base/dns_util.h
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-09 20:13:23 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-09 20:13:23 +0000
commitb40f05a835ecd5ff30e7f87a89837eee059bfadc (patch)
tree6099b52325283e33e1a79892b9646d12cb0da7f5 /net/base/dns_util.h
parentcf59e2dae675b777ce193268ec4040de63e4b4f1 (diff)
downloadchromium_src-b40f05a835ecd5ff30e7f87a89837eee059bfadc.zip
chromium_src-b40f05a835ecd5ff30e7f87a89837eee059bfadc.tar.gz
chromium_src-b40f05a835ecd5ff30e7f87a89837eee059bfadc.tar.bz2
net: add DNSSEC tool and CNAME support.
This change adds support for DNSSEC chains with CNAMEs. I.e. it's not possible to prove records about $domain where $domain is a CNAME. It also adds a tiny, standalone tool to run the verification code from the command line. BUG=none TEST=net_unittests http://codereview.chromium.org/3301015/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58986 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/dns_util.h')
-rw-r--r--net/base/dns_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/base/dns_util.h b/net/base/dns_util.h
index 78dca47..c91587d 100644
--- a/net/base/dns_util.h
+++ b/net/base/dns_util.h
@@ -29,6 +29,7 @@ std::string TrimEndingDot(const std::string& host);
// DNS resource record types. See
// http://www.iana.org/assignments/dns-parameters
+static const uint16 kDNS_CNAME = 5;
static const uint16 kDNS_TXT = 16;
static const uint16 kDNS_CERT = 37;
static const uint16 kDNS_DS = 43;