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

View file

@ -33,8 +33,7 @@
"test-install-script-ubuntu": "npm run compile-install-script && docker build --progress plain -f test/test_install_script/ubuntu.dockerfile .",
"test-install-script-ubuntu1604": "npm run compile-install-script && docker build --progress plain -f test/test_install_script/ubuntu1604.dockerfile .",
"test-install-script-debian": "npm run compile-install-script && docker build --progress plain -f test/test_install_script/debian.dockerfile .",
"simple-dns-server": "node extra/simple-dns-server.js",
"codesandbox": "npm run build && npm run start-server"
"simple-dns-server": "node extra/simple-dns-server.js"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.36",

View file

@ -1,10 +0,0 @@
{
"infiniteLoopProtection": true,
"hardReloadOnChange": false,
"view": "browser",
"container": {
"node": "14",
"port": 3001,
"startScript": "codesandbox"
}
}