add CAA test and remove some files added by mistake

This commit is contained in:
LouisLam
2021-08-27 23:57:42 +08:00
parent acd5cf63fd
commit 03b4086372
3 changed files with 11 additions and 13 deletions

View File

@@ -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") {