mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 15:18:32 +08:00
add CAA test and remove some files added by mistake
This commit is contained in:
@@ -92,9 +92,18 @@ server.on("request", (request, send, rinfo) => {
|
||||
ttl: 300,
|
||||
data: "#v=spf1 include:_spf.existing.com ~all",
|
||||
});
|
||||
} else if (question.type === Packet.TYPE.CAA) {
|
||||
response.answers.push({
|
||||
name: question.name,
|
||||
type: question.type,
|
||||
class: question.class,
|
||||
ttl: 300,
|
||||
flags: 0,
|
||||
tag: "issue",
|
||||
value: "ca.existing.com",
|
||||
});
|
||||
}
|
||||
|
||||
// TODO: CAA type
|
||||
}
|
||||
|
||||
if (question.name === "4.3.2.1.in-addr.arpa") {
|
||||
|
Reference in New Issue
Block a user