This data call returns the recursive chain of DNS forward (A/AAAA/CNAME) and reverse (PTR) records starting form either a hostname or an IP address.
https://stat.ripe.net/data/dns-chain/data.<format>?<parameters>
e.g. https://stat.ripe.net/data/bgp-start/data.json?resource=www.ripe.net
Key | Value | Info | Required |
---|---|---|---|
resource | Hostname or IP address (Ipv4 or IPv6) | Defines the resource that the query is performed for. | YES |
Key | Info |
---|---|
forward_nodes | A key-value list in which the key is a hostname and the value is the list of IP addresses/hostnames to which it has A/AAAA/CNAME records pointing to. |
reverse_nodes | A key-value list in which the key is an IP address and the value is the list of hostnames to which it has PTR records pointing to. |
nameservers | The list of IP addresses of the DNS resolvers used to do perform the DNS queries. |
authoritative_nameservers | The list of the authoritative nameservers for the returned DNS records. |
query_time | Defines the time of the query. |
resource | Defines the resource used in the query. |
"data": { "authoritative_nameservers": [ "pri.authdns.ripe.net.", "ns3.nic.fr.", "sns-pb.isc.org.", "sec3.apnic.net.", "sec1.apnic.net.", "tinnie.arin.net." ], "forward_nodes": { "www.ipv6.ripe.net": [ "2001:67c:2e8:22::c100:68b" ], "www.ripe.net": [ "193.0.6.139", "2001:67c:2e8:22::c100:68b" ] }, "nameservers": [ "193.0.19.101", "193.0.19.102", "193.0.19.6" ], "query_time": "2013-02-19T12:09:00", "resource": "www.ripe.net", "reverse_nodes": { "193.0.6.139": [ "www.ripe.net" ], "2001:67c:2e8:22::c100:68b": [ "www.ipv6.ripe.net" ] } }