summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/resty.dns.resolver.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
commit8fefb8f3e100976235dc83d6ae3785952d11c710 (patch)
tree459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/OpenResty/library/resty.dns.resolver.lua
parentb6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff)
downloadlua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip
cleanup
Diffstat (limited to 'meta/3rd/OpenResty/library/resty.dns.resolver.lua')
-rw-r--r--meta/3rd/OpenResty/library/resty.dns.resolver.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/3rd/OpenResty/library/resty.dns.resolver.lua b/meta/3rd/OpenResty/library/resty.dns.resolver.lua
new file mode 100644
index 00000000..fc43a4cc
--- /dev/null
+++ b/meta/3rd/OpenResty/library/resty.dns.resolver.lua
@@ -0,0 +1,26 @@
+---@meta
+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