Retreive RPZ databases from your DNS server
Artica’s RPZ server includes an HTTP interface that allows external DNS resolvers or automated scripts to retrieve up-to-date RPZ (Response Policy Zone) databases
Artica’s RPZ server includes an HTTP interface that allows external DNS resolvers or automated scripts to retrieve up-to-date RPZ (Response Policy Zone) databases.
By providing these zone files via standard HTTP, Artica streamlines the integration of custom or third-party feeds, ensuring that your DNS infrastructure always has the latest policies for blocking, redirecting, or filtering domains at the DNS level.
Download the index file
The index file http(s)://1.2.3.4:9905/index provide a json that lists all rpz categories.
Here an example:
{
"Records": [
{
"id": 250,
"filename": "250.gz",
"md5": "e9d3a9d7fd35eb1a82ebfc68904b0212",
"time": 1740836957,
"url": "/database/rpz/250",
"urlcompress": "/database/gz/250",
"categoryname": "uts_porn"
}, {
"id": 251,
"filename": "251.gz",
"md5": "d0c53e8512c16e69aa7edfac3d4a73f2",
"time": 1740843299,
"url": "/database/rpz/251",
"urlcompress": "/database/gz/251",
"categoryname": "urlhaus"
},
{
"id": 252,
"filename": "252.gz",
"md5": "a0f93d8f09e1cd84360ec29fff7a244f",
"time": 1740843331,
"url": "/database/rpz/252",
"urlcompress": "/database/gz/252",
"categoryname": "anudeepND"
}
],
"md5cache": "df74ea47143c61a70f1706b0e536104e"
}
- md5cache: This key is changed if the repository has been updated.
In this case, your HTTP client keeps this value locally and if it has changed, it will be time to check and update the rpz databases.
- Records: This key lists all the databases with their ID and the MD5 of each database, the
urlkey specifies the link to the rpz data and theurlcompresskey specifies the link to the compressed data.
Download databases
In this case, to download the rpz category 251, do a get of http(s)://1.2.3.4:9905/database/rpz/251 or compressed http(s)://1.2.3.4:9905/database/gz/251