coredns-dyndns/config/dynamic/webhook.json

31 lines
523 B
JSON

[
{
"id": "update",
"execute-command": "/app/dyn.sh",
"include-command-output-in-response": true,
"pass-arguments-to-command":
[
{
"source": "query",
"name": "myip"
},
{
"source": "query",
"name": "hostname"
}
]
},
{
"id": "le",
"execute-command": "/app/cng.sh",
"include-command-output-in-response": true,
"pass-arguments-to-command":
[
{
"source": "query",
"name": "value"
}
]
}
]