domain registration, start on DNS

This commit is contained in:
2026-05-14 11:15:30 -04:00
parent 8c55871866
commit 43d4730803
12 changed files with 415 additions and 28 deletions
+11
View File
@@ -0,0 +1,11 @@
const Joi = require('joi');
const domainRegistrySchema = Joi.object().keys({
register_domain_label: Joi.string().alphanum().min(1).max(63).required(),
register_domain_tld: Joi.string().valid("local", "tomato", "secret", "money", "lol", "lmao").required()
}).unknown(true);
module.exports = {
test: (body) => {
return domainRegistrySchema.validate(body);
}
}