DNS

overview page of web interface
DNS tab in log inspection

Introduction

DNS feature is straightforward, and you can collect information about DNS configuration. You can monitor changes.

This feature may impact performance negatively

Example

Interactive Example: API DNS Example
openapi openapi API DNS Example Sign in
            curl -X GET https://api.scrapfly.io/scrape?key=__API_KEY__&url=https%3A%2F%2Famazon.fr&dns=true
        
HTTP Call Pretty Print
https://api.scrapfly.io/scrape?key=&url=https%3A%2F%2Famazon.fr&dns=true

key
=
url
= https%3A%2F%2Famazon.fr
dns
= true
openapi openapi DNS Example | Json
            ...
"result": {
    ...
    "dns": {
        "A": [
            {
                "host": "52.95.120.39",
                "ttl": 35
            },
            {
                "host": "54.239.33.91",
                "ttl": 35
            },
            {
                "host": "52.95.116.113",
                "ttl": 35
            }
        ],
        "MX": [
            {
                "host": "amazon-smtp.amazon.com",
                "priority": 10,
                "ttl": 7199
            }
        ],
        "NS": [
            {
                "host": "ns1.p31.dynect.net",
                "ttl": -1
            },
            {
                "host": "ns2.p31.dynect.net",
                "ttl": -1
            },
            {
                "host": "pdns6.ultradns.co.uk",
                "ttl": -1
            },
            {
                "host": "pdns2.ultradns.net",
                "ttl": -1
            },
            {
                "host": "ns4.p31.dynect.net",
                "ttl": -1
            },
            {
                "host": "ns3.p31.dynect.net",
                "ttl": -1
            },
            {
                "host": "pdns5.ultradns.info",
                "ttl": -1
            },
            {
                "host": "pdns1.ultradns.net",
                "ttl": -1
            },
            {
                "host": "pdns3.ultradns.org",
                "ttl": -1
            },
            {
                "host": "pdns4.ultradns.org",
                "ttl": -1
            }
        ],
        "SOA": [
            {
                "nsname": "dns-external-master.amazon.com",
                "hostmaster": "root.amazon.com",
                "serial": 2010111229,
                "refresh": 600,
                "expires": 3024000,
                "minttl": 900,
                "ttl": 899
            }
        ],
        "TXT": [
            {
                "text": "v=spf1 include:amazon.com -all",
                "ttl": 3332
            },
            {
                "text": "adobe-idp-site-verification=b6bcd3e5aaffc63607c8bf75744d9a0d1febc50dd7f389428e2ae476c9ba8814",
                "ttl": 3332
            },
            {
                "text": "facebook-domain-verification=pkqx4a7mquzleeunwoog6hv56rny8w",
                "ttl": 3332
            },
            {
                "text": "spf2.0/pra include:amazon.com -all",
                "ttl": 3332
            }
        ]
    },
    ...
...