OpenWRT DNS Client (1.0.0)

Download OpenAPI specification:Download

Kevin Lyda: kevin@lyda.ie URL: https://phrye.com License: Apache 2.0

Implements the OpenWRT DNS webhook endpoints.

listing

Endpoints to get listings of DNS records.

list

List domains/ips on the DNS server.

Responses

Response samples

Content type
text/plain
A example.shed.lyda.ie 1.2.3.4
SRV _c._tcp.m.shed.lyda.ie 0 50 30000 m.shed.lyda.ie
TXT a-m.shed.lyda.ie "h=e-d,e-d/o=d,e-d/r=s/m-o/c"

update

Endpoints to update DNS records.

finalise

Restart dnsmasq to finalise the changes on the DNS server.

Responses

Response samples

Content type
text/plain
ok

add

Adds domain and ip to DNS server.

path Parameters
rr
required
string
Example: A

RR to add.

domain
required
string
Example: minio.shed.example.com

Domain to add.

ip
required
string
Example: 1.2.3.4

IP to add.

Responses

Response samples

Content type
text/plain
added

delete

Deletes domain and ip on DNS server.

path Parameters
rr
required
string
Example: A

RR to delete.

domain
required
string
Example: minio.shed.example.com

Domain to delete.

ip
required
string
Example: 1.2.3.4

IP to delete.

Responses

Response samples

Content type
text/plain
deleted