Commit 402c16e8 authored by Max Lv's avatar Max Lv

Revert "Handle the AAAA queires as well"

This reverts commit fa3d4e78.
parent fa3d4e78
......@@ -122,7 +122,7 @@ class LocalDnsServer(private val localResolver: suspend (String) -> Array<InetAd
try {
if (request.header.opcode != Opcode.QUERY) return@supervisorScope remote.await()
val question = request.question
if (question?.type != Type.A && question?.type != Type.AAAA) return@supervisorScope remote.await()
if (question?.type != Type.A) return@supervisorScope remote.await()
val host = question.name.toString(true)
val hostsResults = hosts.resolve(host)
if (hostsResults.isNotEmpty()) {
......
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