# API: List DNS packages
# dnsListPackages
List available DNS packages with their categories and product_id
to use with dnsZoneImport
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=dnsListPackages
# PHP Samples
# Response
{
"success": true,
"packages": {
"52": {
"name": "PowerDNS DNSSEC",
"products": [
{
"id": "1920",
"category_id": "52",
"name": "DNS REST",
"category": "PowerDNS DNSSEC",
"module_id": "478",
"module": "class.powerdns_rest.php",
"server_ids": "188"
},
{
"id": "6737",
"category_id": "52",
"name": "docker-dns",
"category": "PowerDNS DNSSEC",
"module_id": "478",
"module": "class.powerdns_rest.php",
"server_ids": "281"
},
{
"id": "6829",
"category_id": "52",
"name": "docker-dns (2)",
"category": "PowerDNS DNSSEC",
"module_id": "478",
"module": "class.powerdns_rest.php",
"server_ids": "281"
}
]
},
"89": {
"name": "PowerDNS",
"products": [
{
"id": "420",
"category_id": "89",
"name": "DNS 1",
"category": "PowerDNS",
"module_id": "478",
"module": "class.powerdns_rest.php",
"server_ids": "188"
}
]
},
"156": {
"name": "DNS Services",
"products": [
{
"id": "2602",
"category_id": "156",
"name": "Hetzner DNS",
"category": "DNS Services",
"module_id": "604",
"module": "class.hetznerdns.php",
"server_ids": "239"
}
]
}
},
"call": "dnsListPackages",
"server_time": 1738163255
}