Skip to content

Commit

Permalink
Merge pull request #1671 from Daxtorim/type-ids-to-type-name
Browse files Browse the repository at this point in the history
Add more query type names to title of Query Log instead of "type <id>"
  • Loading branch information
DL6ER authored Dec 28, 2020
2 parents 941ab79 + 0b125b0 commit cef3a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queries.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}
else if(isset($_GET["querytype"]))
{
$qtypes = ["A (IPv4)", "AAAA (IPv6)", "ANY", "SRV", "SOA", "PTR", "TXT", "NAPTR"];
$qtypes = ["A (IPv4)", "AAAA (IPv6)", "ANY", "SRV", "SOA", "PTR", "TXT", "NAPTR", "MX", "DS", "RRSIG", "DNSKEY", "NS", "OTHER"];
$qtype = intval($_GET["querytype"]);
if($qtype > 0 && $qtype <= count($qtypes))
$showing .= " ".$qtypes[$qtype-1]." queries";
Expand Down

0 comments on commit cef3a25

Please sign in to comment.