Add a way to load templates from json files

This commit is contained in:
Bart van Halder 2024-07-25 15:32:03 +02:00
parent 65d58cfd92
commit a3ba9ed45e
No known key found for this signature in database
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{
"name": "Example Template",
"owner": "public",
"records": [
{
"name": "",
"type": "NS",
"content": "ns1.example.com.",
"label": "ns1"
},
{
"name": "",
"type": "NS",
"content": "ns2.example.com.",
"label": "ns2"
},
{
"name": "example-txt",
"type": "TXT",
"content": "This is an example txt record"
},
{
"name": "localhost",
"type": "A",
"content": "127.0.0.1"
}
]
}