domain_dns


domain_dns manages all aspects of the DNS for clients. Pagely utilizes the best in class DNS service from Dyn, we pass this value onto our clients that wish to utilize it. domain_dns endpoint is a wrapper for the dyn api and our lock dns cache.

There is no simgle_post as we do not update existing records, but instead delete and add a replacement.


Available HTTP and Response Types
DELETE GET POST PUT | JSON

5 Methods


  • DELETE
    https://api.pagely.com/ v1 / domain_dns /single

    Available To Partner Account

    Description
    No Description

    Sample Response


      Required Params

      id int
  • GET
    https://api.pagely.com/ v1 / domain_dns /all

    Available To Partner Account

    Description
    No Description

    Sample Response


      Optional Params

      domain_id int
      limit int 25
      offset int
      order_by string id
      order_dir string DESC
      s string search on
      s_explicit bool Whether Search is WHERE or LIKE
  • GET
    https://api.pagely.com/ v1 / domain_dns /single

    Available To Partner Account

    Description
    No Description

    Sample Response


      Required Params

      id int
  • POST
    https://api.pagely.com/ v1 / domain_dns /action

    Available To Partner Account

    Description
    No Description

    Sample Response


      Required Params

      action string flush
      id int
  • PUT
    https://api.pagely.com/ v1 / domain_dns /single

    Available To Partner Account

    Description

    Creates a new record for the zone.

    hostname zone host_type priority data
    www domain.com CNAME  <blank> domain.com
    <blank> domain.com MX  5 smtp.domain.com
    dev domain.com A  <blank> 127.0.0.1

    Sample Response


      Required Params

      data string IP|fqdn|txt
      domain_id int
      host_type string MX|A|CNAME|TXT
      hostname string *|blog|www
      zone string domain.com

      Optional Params

      priority int Required of MX type