mirror of
https://github.com/maxkratz/coredns-dyndns.git
synced 2024-05-18 04:00:47 +00:00
31 lines
523 B
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"
|
|
}
|
|
]
|
|
}
|
|
]
|