From 52097b6ee7cc8f5a770eb851902560b5b8592218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 22 Feb 2021 21:05:36 +0800 Subject: add meta/3rd with acknowledgement --- meta/3rd/OpenResty/resty.dns.resolver.lua | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta/3rd/OpenResty/resty.dns.resolver.lua (limited to 'meta/3rd/OpenResty/resty.dns.resolver.lua') diff --git a/meta/3rd/OpenResty/resty.dns.resolver.lua b/meta/3rd/OpenResty/resty.dns.resolver.lua new file mode 100644 index 00000000..665d1e4c --- /dev/null +++ b/meta/3rd/OpenResty/resty.dns.resolver.lua @@ -0,0 +1,25 @@ +resty_dns_resolver={} +resty_dns_resolver.SECTION_NS=2 +resty_dns_resolver.SECTION_AN=1 +resty_dns_resolver.TYPE_AAAA=28 +function resty_dns_resolver.new(class, opts) end +resty_dns_resolver.TYPE_NS=2 +function resty_dns_resolver.query(self, qname, opts, tries) end +resty_dns_resolver.TYPE_A=1 +function resty_dns_resolver.compress_ipv6_addr(addr) end +resty_dns_resolver.TYPE_SRV=33 +resty_dns_resolver.TYPE_PTR=12 +function resty_dns_resolver.reverse_query(self, addr) end +resty_dns_resolver.TYPE_SPF=99 +resty_dns_resolver._VERSION="0.21" +function resty_dns_resolver.expand_ipv6_addr() end +function resty_dns_resolver.set_timeout(self, timeout) end +function resty_dns_resolver.tcp_query(self, qname, opts) end +resty_dns_resolver.TYPE_TXT=16 +resty_dns_resolver.TYPE_SOA=6 +resty_dns_resolver.TYPE_MX=15 +resty_dns_resolver.CLASS_IN=1 +function resty_dns_resolver.arpa_str(addr) end +resty_dns_resolver.SECTION_AR=3 +resty_dns_resolver.TYPE_CNAME=5 +return resty_dns_resolver \ No newline at end of file -- cgit v1.2.3