YAPC::EU 2018 Glasgow Update!
This commit is contained in:
parent
22f33d4004
commit
4e2d22a71d
1170 changed files with 15042 additions and 3047 deletions
6
Task/DNS-query/Lua/dns-query-1.lua
Normal file
6
Task/DNS-query/Lua/dns-query-1.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
local socket = require('socket')
|
||||
local ip_tbl = socket.dns.getaddrinfo('www.kame.net')
|
||||
|
||||
for _, v in ipairs(ip_tbl) do
|
||||
io.write(string.format('%s: %s\n', v.family, v.addr))
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue