DNSZoneRecordsList

From $1

    Description

    This API call allows you to list all dns records for the specified DNS zone
     

    Changelog

    API version Changes
     2.0.0 Initial version

     

    Request Parameters

    Name Description Required
     ZoneName  Zone (Domain) name Yes

     

    Response Elements

    Name Description
     ID Record ID
     Type Record type (A, MX, CNAME, NS, TXT, SRV)
     TTL Record TTL (in seconds)
     Priority Priority (for MX records)
     Name Record name
     Value Record value
     Weight Weight (For SRV records)
     Port Port (For SRV records)
     IsSystem Is system record or no. System records cannot be removed.

     

    Sample Request

    https://api.scalr.net/?Action=DNSZoneRecordsList
    &Version=2.0.0 &DomainName=mytestdomain.com &KeyID=<Your Scalr API Key ID>
    &TimeStamp=2009-06-19T05%3A13%3A00.000Z
    &Signature=<URLEncode(Base64Encode(Signature))>

     

    Sample Response

    <?xml version="1.0"?>
    <DNSZoneRecordsListResponse>
        <TransactionID>80b8c4a8-af0a-47a4-9856-6c7cfd817ae8</TransactionID>
        <ZoneRecordSet>
            <Item>
                <ID>2355</ID>
                <Type>TXT</Type>
                <TTL>14400</TTL>
                <Priority>0</Priority>
                <Name>@</Key>
                <Value>spf=v1</Value>
                <Weight>0</Weight>
                <Port>0</Port>
                <IsSystem>0</IsSystem>
            </Item>
            <Item>
                <ID>2356</ID>
                <Type>TXT</Type>
                <TTL>14400</TTL>
                <Priority>0</Priority>
                <Name>@</Key>
                <Value>spf=v2</Value>
                <Weight>0</Weight>
                <Port>0</Port>
                <IsSystem>0</IsSystem>
            </Item>
        </ZoneRecordSet>
    </DNSZoneRecordsListResponse>


     

    Tags: (Edit tags)
    • No tags
     
    Comments (0)
    You must login to post a comment.

     
    Powered by MindTouch Core