DNS

The DNS endpoint allows you to get a list of DNS records.

Get a list of DNS records

GET https://api.halosecurity.com/api/v1/dns/list.json

Returns a paginated list of DNS records.

https://www.halosecurity.com/user/security/firewall/dns/list

Query Parameters

NameTypeDescription

sort

String

0

= none (default)

sort_desc

Integer

0 = No (default)

1 = Yes

type

String

Filter by type

value

String

Filter by value

host

String

Filter by host

{
    "list": [
        {
            "record": {
                "host": "www.example.com",
                "type": "a",
                "value": "0.0.0.0"
            },
            "target": {
                "target_name": "",
                "target_id": 1,
                "target": "www.example.com"
            }
        }
    ]
}

Last updated