|
5 months ago | |
---|---|---|
auth | 5 months ago | |
logs | 10 months ago | |
resources | 5 months ago | |
src | 5 months ago | |
.gitignore | 6 months ago | |
README.md | 10 months ago | |
TASKS.md | 2 years ago | |
dynReload.sh | 6 months ago | |
pom.xml | 6 months ago | |
release.sh | 8 months ago |
Web Config Query Language
Using SQL database storage for managing web configuration of BIND DNS and Apache configuration files. Apache config files are generated for both proxy and client nodes depending on the options selected.
Endpoints related to customer accounts.
/customer/create/ POST
Used to create a new customer record.
?customer=test
/customer/details/ GET
Used to fetch details about an existing customer record.
?customer=test
/customer/domains/ GET
Used to fetch all domains owned by a customer.
?customer=test
/customer/list/ GET
Used to fetch all known customers.
Endpoints related to hosted domains.
/domain/create/ POST
Used to create a new domain record.
?domain=example.com&owner=test&created=07/04/20&expires=07/04/30
/domain/details/ GET
Used to fetch details about an existing domain.
?domain=example.com
/domain/list/ GET
Used to fetch all known domains.
Endpoints related to DNS records.
/dns/create/ POST
Used to create a new DNS record.
?domain=example.com&name=www&type=A&data=1.2.3.4
Optional
&ttl=900
&priority=10
&comment=Optional%20comment.
/dns/details/ GET
Used to fetch record details for an existing domain.
?domain=example.com
/dns/generate/ POST
Used to generate DNS config files.
/dns/remove/ POST
Used to remove an existing DNS record.
?domain=example.com&name=www&data=1.2.3.4
/dns/update/ GET
Used to update the address of an exiting DNS record. Accepts the NoIP DDNS client protocol.
?hostname=dyn.example.com&myip=1.2.3.4
/dns/soa/ POST
Used to create / update the SOA record for a given domain.
?domain=example.com&nameserver=ns1.example.com.&admin=admin.example.com.
Optional
&refresh=900
&retry=900
&expire=10800
&ttl=900
Endpoints related to HTTP config files.
/http/create/ POST
Used to create a new host.
?
/http/details/ GET
Used to fetch details about an existing domain.
?
/http/generate/ POST
Used to generate HTTP config files.
/http/remove/ POST
Used to remove an existing host.
?
Endpoints related to Proxy config files.
/proxy/create/ POST
Used to create a new proxy host.
?
/proxy/details/ GET
Used to fetch details about an existing proxy host.
?domain=example.com
/proxy/generate/ POST
Used to generate proxy config files.
/proxy/remove/ POST
Used to remove an existing proxy host.
?
/proxy/balancer/create/ POST
{}
/proxy/balancer/details/ GET
{}
/proxy/balancer/list/ GET
{}
/proxy/balaner/remove/ POST
{}