1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-24 08:32:23 +02:00

Removed wrong PTR answer

This commit is contained in:
Ponkhy 2021-08-27 17:41:22 +02:00
parent 177af2d588
commit acd5cf63fd

View File

@ -59,14 +59,6 @@ server.on("request", (request, send, rinfo) => {
ttl: 300,
ns: "ns1.existing.com",
});
} else if (question.type === Packet.TYPE.PTR) {
response.answers.push({
name: question.name,
type: question.type,
class: question.class,
ttl: 300,
domain: "ptr1.existing.com",
});
} else if (question.type === Packet.TYPE.SOA) {
response.answers.push({
name: question.name,