Solar VPS
  1. dns
Solar VPS
  • contacts
    • View all contacts under your account
      GET
  • dns
    • View all your records for a given domain
      GET
    • Add dns record for given domain
      POST
    • Delete dns record for a given domain
      POST
    • Update dns record for a given domain
      POST
  • domains
    • View all your domains managed by SolarVPS Distributed DNS
      GET
    • Add domain to be managed by SolarVPS Distributed DNS
      POST
    • Delete domain from SolarVPS Distributed DNS
      POST
  • key
    • Generate API Key
      GET
    • Get API Key
      GET
  • pods
    • View all your pods
      GET
    • View information on a specific pod
      GET
    • Ping your specified pod
      GET
    • Perform action on a specific pod
      GET
  • solarray
    • View all your monitors
      GET
    • View all your critical notifications
      GET
  • tickets
    • View all your tickets
      GET
    • Open ticket with desired department
      POST
    • View details on a specific ticket
      GET
    • Post a reply to a ticket
      POST
  1. dns

Add dns record for given domain

POST
/dns/{domain}/add
You can try example.com below. Types allowed are: A CNAME NS TXT MX SRV SPF
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://api.ss.solarvps.com//dns//add?name=&type=&content=&ttl=&prio='
Response Response Example
{}

Request

Path Params
domain
string 
required
Domain you want to add records for
Query Params
name
string 
required
Fully qualified DNS name
type
string 
required
Type of DNS record
content
string 
required
Content for DNS record
ttl
string 
required
Time To Live for DNS record
prio
string 
required
Priority of DNS record

Responses

🟢200No response was specified
application/json
Body
object {0}
Modified at 2023-08-15 10:12:28
Previous
View all your records for a given domain
Next
Delete dns record for a given domain
Built with