Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Daniel Kahn Gillmor
Knot DNS Resolver
Commits
3d740ea7
Commit
3d740ea7
authored
Jan 30, 2016
by
Marek Vavrusa
Browse files
scripts/kresd-host: ignore other types in answer
parent
14091efe
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/kresd-host.lua
View file @
3d740ea7
...
...
@@ -103,8 +103,8 @@ for i, qtype in ipairs(qtypes) do
print(string.format("%s has IPv6 address %s", qname, rdata))
elseif rr.type == kres.type.MX then
print(string.format("%s mail is handled by %s", qname, rdata))
else
print(string.format("%s has %s record
%s
%s", qname, qtype, rdata))
else
if rr.type == pkt:qtype() then
print(string.format("%s has %s record %s", qname, qtype, rdata))
end
end
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment