Commit bbe5aa80 authored by Štěpán Balážik's avatar Štěpán Balážik

Fixed example for using resolve() function.

parent ce28b173
************************
Knot DNS Resolver daemon
************************
......@@ -449,6 +448,7 @@ Environment
-- Print matching records
local records = pkt:section(kres.section.ANSWER)
for i = 1, #records do
local rr = records[i]
if rr.type == kres.type.AAAA then
print ('record:', kres.rr2str(rr))
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment