Skip to content

Commit

Permalink
Merge pull request #182 from AdguardTeam/agm-1929-api-1-6
Browse files Browse the repository at this point in the history
[AGM-1929] DNS API v1.6: changelog update
  • Loading branch information
vbagirov authored Feb 6, 2024
2 parents 529cc24 + 373fe88 commit b7d2b1b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions docs/private-dns/api/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,26 @@ toc_max_heading_level: 3

This article contains the changelog for [AdGuard DNS API](private-dns/api/overview.md).

## v1.6

- Added new section "Access settings" for DNS profiles (`access_settings`). By customizing these fields, you’ll be able to protect your AdGuard DNS server from unauthorized access:

- `allowed_clients` — here you can specify which clients can use your DNS server. This field will have priority over the `blocked_clients` field
- `blocked_clients` — here you can specify which clients are not allowed to use your DNS server
- `blocked_domain_rules` — here you can specify which domains are not allowed to access your DNS server, as well as define such domains with wildcard and DNS filtering rules

- Added new limits to Account limits:

- `access_rules` provides the sum of currently used `blocked_clients` and `blocked_domain_rules` values, as well as the limit on access rules
- `user_rules` shows the amount of created user rules, as well as the limit on them

- Added new setting: `ip_log_enabled` for the ability to log client IP addresses and domains.

- Added new error code `FIELD_REACHED_LIMIT` to indicate when limits have been reached:

- For the total number of `blocked_clients` and `blocked_domain_rules` in access settings
- For `rules` in custom user rules settings

## v1.5

- Added new setting `block_nrd` and group all security-related settings to one place.
Expand Down
2 changes: 1 addition & 1 deletion docs/private-dns/api/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ toc_max_heading_level: 4

This article contains documentation for [AdGuard DNS API](private-dns/api/overview.md). For the complete AdGuard DNS API changelog, visit [this page](private-dns/api/changelog.md).

## Current version: 1.5
## Current version: 1.6

### /oapi/v1/account/limits

Expand Down

0 comments on commit b7d2b1b

Please sign in to comment.