温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.dns.com/en/docs/12/15
点击访问原文链接

API文档-DNS.COM

API文档-DNS.COM Home DNS Resolution DNS Intelligent Resolution Fast, secure, and stable smart DNS resolution services Custom Authoritative DNS Independent DNS servers + independent NS addresses DNS Pollution Treatment Domain Name SSL Certificates Server Rental Cloud Computing Services Cloud Server China Hong Kong Cloud Server China Hong Kong Optimized Bandwidth Cloud Server Japan Cloud Server US Cloud Server SG Cloud Server Lightweight Cloud Server Server Rental China Hong Kong Server China Hong Kong CN2 Server China Hong Kong SEO Server China Hong Kong Optimized Bandwidth Server China Hong Kong International Bandwidth Server China Hong Kong Anti-DDoS Server Japan Server Japan Optimized Bandwidth Server Japan International Bandwidth Server US Server US CN2 Server US SEO Server US Anti-DDoS Server Singapore Server SG CN2 Server SG Anti-DDoS Server DDoS protection Anti-DDoS IP China Hong Kong High-Protection IP Company About DNS.COM Global one-stop infrastructure security service provider Support Welcome to the Answer Contact Us Leave us a message or contact us via email AFF Join the AFF Program and earn your commissions API Docs Real-time request, calling API interface CN EN Register Sign In Control Station Sign Out API Docs Calling Method Common Parameters Signature Method Common Error Codes Domain Add Domain Domain List Manage Domain Get Domain Lines Get Domain Details DNS Records Record List Add Record Modify Record Manage Record Get Record Details Add Record 1. Signature Method 2. Apply for Security Credentials 3. Generate Signature String 4. Signature Demo 1. API Endpoint https://openapi.dns.com/api/record/create/ 2. Input Parameters Parameter Name Type Description domain Domain or Domain ID string Required record Hostname string Optional, defaults to @ type Record Type string Optional, defaults to A record value Record Value string The record value to be added, e.g. 127.0.0.1 view_id Line ID int Optional, defaults to the default line ttl TTL int Optional, defaults to 600 mx MX int When type is MX, this is the MX priority; for other types, it represents weight (the larger the value, the higher the weight, range 1–55) remark Remark string Optional 3. Output Parameters Parameter Name Type Description code Return Code int 0 means success; non-zero refers to error codes message Message string If the operation succeeds, this may be empty; if it fails, an error message will be returned data Response Data array If the API returns data, it will be in an array. If no data, it will be empty 4. Data Field (data) Description Parameter Name Type Description data Domain Array array The array of domains returned on success data.domain_id Domain ID int - data.record_id Record ID string - data.record Host int - data.type Record Type string - data.value Record Value string - data.view_id Line ID string - data.status Domain Status int 1 = Active, 2 = Suspended, 3 = System Suspended data.ttl TTL (Time to Live) int - data.mx MX Priority int - data.remark Remark string - 24/7/365 support.
We work when you work Telegram E-mail Work Order Support Contact Us Online Customer service Technical Support:support@dns.com Business Cooperation:marker@dns.com Popular products DNS Intelligent Resolution DNS Pollution Treatment Domain Name SSL Certificates Cloud Computing Services China Hong Kong Cloud Server Japan Cloud Server US Cloud Server SG Cloud Server Server Rental China Hong Kong CN2 Server US CN2 Server SG CN2 Server Japan Optimized Bandwidth Server About DNS.COM About DNS.COM Support Glossary DNS Luna DNS Amy DNS Becky DNS NOC Title Email Address Type Market cooperation Marketing Cooperation Information Code Submit

智能索引记录