Commit 158af09a authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

[jreed-host] add "descriptive text" for TXT

parent e9f3843c
......@@ -145,6 +145,9 @@ host_lookup(const char* const name, const char* const dns_class,
else if ((*it)->getType() == RRType::MX()) {
description = "mail is handled by";
else if ((*it)->getType() == RRType::TXT()) {
description = "descriptive text";
RdataIteratorPtr rit = (*it)->getRdataIterator();
for (; !rit->isLast(); rit->next()) {
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