summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/doh.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/doh.h')
-rw-r--r--libs/libcurl/src/doh.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/libcurl/src/doh.h b/libs/libcurl/src/doh.h
index f522d33085..fc053eddf9 100644
--- a/libs/libcurl/src/doh.h
+++ b/libs/libcurl/src/doh.h
@@ -55,14 +55,16 @@ typedef enum {
DOH_DNS_UNEXPECTED_TYPE, /* 9 */
DOH_DNS_UNEXPECTED_CLASS, /* 10 */
DOH_NO_CONTENT, /* 11 */
- DOH_DNS_BAD_ID /* 12 */
+ DOH_DNS_BAD_ID, /* 12 */
+ DOH_DNS_NAME_TOO_LONG /* 13 */
} DOHcode;
typedef enum {
DNS_TYPE_A = 1,
DNS_TYPE_NS = 2,
DNS_TYPE_CNAME = 5,
- DNS_TYPE_AAAA = 28
+ DNS_TYPE_AAAA = 28,
+ DNS_TYPE_DNAME = 39 /* RFC6672 */
} DNStype;
#define DOH_MAX_ADDR 24