config system dns-database
Configure DNS databases.
config system dns-database Description: Configure DNS databases. edit <name> set allow-transfer {user} set authoritative [enable|disable] set contact {string} config dns-entry Description: DNS entry. edit <id> set id {integer} set status [enable|disable] set type [A|NS|...] set ttl {integer} set preference {integer} set ip {ipv4-address-any} set ipv6 {ipv6-address} set hostname {string} set canonical-name {string} next end set domain {string} set forwarder {user} set ip-master {ipv4-address-any} set name {string} set primary-name {string} set rr-max {integer} set source-ip {ipv4-address} set status [enable|disable] set ttl {integer} set type [master|slave] set view [shadow|public] next end
config system dns-database
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
allow-transfer |
DNS zone transfer IP address list. |
user |
Not Specified |
|
||||||
authoritative |
Enable/disable authoritative zone. |
option |
- |
enable |
||||||
|
|
|||||||||
contact |
Email address of the administrator for this zone. You can specify only the username (e.g. admin) or full email address (e.g. admin@test.com) When using a simple username, the domain of the email will be this zone. |
string |
Not Specified |
hostmaster |
||||||
domain |
Domain name. |
string |
Not Specified |
|
||||||
forwarder |
DNS zone forwarder IP address list. |
user |
Not Specified |
|
||||||
ip-master |
IP address of master DNS server. Entries in this master DNS server and imported into the DNS zone. |
ipv4-address-any |
Not Specified |
0.0.0.0 |
||||||
name |
Zone name. |
string |
Not Specified |
|
||||||
primary-name |
Domain name of the default DNS server for this zone. |
string |
Not Specified |
dns |
||||||
rr-max |
Maximum number of resource records. |
integer |
Minimum value: 10 Maximum value: 65536 |
16384 |
||||||
source-ip |
Source IP for forwarding to DNS server. |
ipv4-address |
Not Specified |
0.0.0.0 |
||||||
status |
Enable/disable this DNS zone. |
option |
- |
enable |
||||||
|
|
|||||||||
ttl |
Default time-to-live value for the entries of this DNS zone. |
integer |
Minimum value: 0 Maximum value: 2147483647 |
86400 |
||||||
type |
Zone type (master to manage entries directly, slave to import entries from other zones). |
option |
- |
master |
||||||
|
|
|||||||||
view |
Zone view (public to serve public clients, shadow to serve internal clients). |
option |
- |
shadow |
||||||
|
|
config dns-entry
Parameter |
Description |
Type |
Size |
Default |
||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id |
DNS entry ID. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
||||||||||||||||
status |
Enable/disable resource record status. |
option |
- |
enable |
||||||||||||||||
|
|
|||||||||||||||||||
type |
Resource record type. |
option |
- |
A |
||||||||||||||||
|
|
|||||||||||||||||||
ttl |
Time-to-live for this entry. |
integer |
Minimum value: 0 Maximum value: 2147483647 |
0 |
||||||||||||||||
preference |
DNS entry preference, 0 is the highest preference |
integer |
Minimum value: 0 Maximum value: 65535 |
10 |
||||||||||||||||
ip |
IPv4 address of the host. |
ipv4-address-any |
Not Specified |
0.0.0.0 |
||||||||||||||||
ipv6 |
IPv6 address of the host. |
ipv6-address |
Not Specified |
:: |
||||||||||||||||
hostname |
Name of the host. |
string |
Not Specified |
|
||||||||||||||||
canonical-name |
Canonical name of the host. |
string |
Not Specified |
|