add CAA test and remove some files added by mistake

pull/238/head
LouisLam 3 years ago
parent acd5cf63fd
commit 03b4086372

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

@ -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",

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