A service to update alidns
- Get all DNS records:
GET /dns
curl http://127.0.0.1:8080/dns
- Get single DNS record:
GET /dns/:rr
# get the aaa.<your-domain> curl http://127.0.0.1:8080/dns/aaa
- Add or Replace single recored:
POST /dns/:rr
withip=xxx
in body or query.# set the aaa.<your-domain> = 1.2.3.4 curl -X POST http://127.0.0.1:8080/dns/aaa?ip=1.2.3.4 curl -X POST http://127.0.0.1:8080/dns/aaa -d '{"ip": "1.2.3.4"}'