Skip to content
Command Line Interface

Client_prefs.sh

This script allows you to set permissions and limits for DNS Manager clients.

Usage

bash
client_prefs.sh <command> <login_name> <options>

To see all available parameters, you can run:

bash
client_prefs.sh --help

Examples

In these examples, you are logged in as root and you call the scripts by their directory.

Set Permissions and Limits for a Client

bash
client_prefs.sh -u newclient \
  --add_remote_url true \
  --modify_remote_url true \
  --add_dns_templates true \
  --clean_url_zones false \
  --ignore_other_urls true \
  --warn_update 5 \
  --zone_refresh 10800 \
  --retry_time 3600 \
  --minimum_ttl 86400 \
  --expire_time 604800 \
  --default_ttl 86400 \
  --maximum_dns_zones u \
  --maximum_update_url 10 \
  --expiration_date u \
  --forward_zone_management 10 \
  --reverse_zone_management 20 \
  --e164_zone_management 30

Client Permissions and Limits

bash
client_prefs.sh -i newclient

The output will be similar to:

returns something like this:
Warn if an update from a location fails more than :[5]times  
Allow to add remote update locations:[true]
Allow to modify remote update locations:[true]  
Allow to add DNS templates:[true]
Remove zones no longer present in update source:[true]  
Lock zones to an update source:[true]  
Refresh time:[10800]  
Retry time:[3600]  
Expire time:[604800]  
Minimum TTL:[86400]  
Default TTL:[86400]  
Account expiration date:[Unlimited]  
Maximum number of remote update locations:[10] Currently used: (0)  
Maximum number of DNS zones:[Unlimited] Currently used: (0)  
Forward DNS zones management:[10] (Manage forward DNS zones and records)  
Reverse DNS zones management:[20] (Manage reverse DNS records only)  
E.164 DNS zones management:[30] (View E.164 DNS zones and records)
Last updated: Dec 10, 2025