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 canonical-name {string} set hostname {string} set ip {ipv4-address-any} set ipv6 {ipv6-address} set preference {integer} set status [enable|disable] set ttl {integer} set type [A|NS|...] next end set domain {string} set forwarder {user} set forwarder6 {ipv6-address} set interface {string} set interface-select-method [auto|sdwan|...] set ip-primary {ipv4-address-any} set primary-name {string} set rr-max {integer} set source-ip {ipv4-address} set source-ip-interface {string} set source-ip6 {ipv6-address} set status [enable|disable] set ttl {integer} set type [primary|secondary] set view [shadow|public|...] set vrf-select {integer} 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, such as admin or the full email address, such as admin@test.com When using only a username, the domain of the email will be this zone. |
string |
Maximum length: 255 |
host |
||||||||||
domain |
Domain name. |
string |
Maximum length: 255 |
|
||||||||||
forwarder |
DNS zone forwarder IP address list. |
user |
Not Specified |
|
||||||||||
forwarder6 |
Forwarder IPv6 address. |
ipv6-address |
Not Specified |
:: |
||||||||||
interface |
Specify outgoing interface to reach server. |
string |
Maximum length: 15 |
|
||||||||||
interface-select-method |
Specify how to select outgoing interface to reach server. |
option |
- |
auto |
||||||||||
|
|
|||||||||||||
ip-primary |
IP address of primary DNS server. Entries in this primary DNS server and imported into the DNS zone. |
ipv4-address-any |
Not Specified |
0.0.0.0 |
||||||||||
name |
Zone name. |
string |
Maximum length: 35 |
|
||||||||||
primary-name |
Domain name of the default DNS server for this zone. |
string |
Maximum length: 255 |
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 |
||||||||||
source-ip-interface |
IP address of the specified interface as the source IP address. |
string |
Maximum length: 15 |
|
||||||||||
source-ip6 |
IPv6 source IP address for forwarding to DNS server. |
ipv6-address |
Not Specified |
:: |
||||||||||
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 (primary to manage entries directly, secondary to import entries from other zones). |
option |
- |
primary |
||||||||||
|
|
|||||||||||||
view |
Zone view (public to serve public clients, shadow to serve internal clients). |
option |
- |
shadow |
||||||||||
|
|
|||||||||||||
vrf-select |
VRF ID used for connection to server. |
integer |
Minimum value: 0 Maximum value: 511 |
0 |
config dns-entry
Parameter |
Description |
Type |
Size |
Default |
||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
canonical-name |
Canonical name of the host. |
string |
Maximum length: 255 |
|
||||||||||||||||
hostname |
Name of the host. |
string |
Maximum length: 255 |
|
||||||||||||||||
id |
DNS entry ID. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
||||||||||||||||
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 |
:: |
||||||||||||||||
preference |
DNS entry preference. |
integer |
Minimum value: 0 Maximum value: 65535 |
10 |
||||||||||||||||
status |
Enable/disable resource record status. |
option |
- |
enable |
||||||||||||||||
|
|
|||||||||||||||||||
ttl |
Time-to-live for this entry. |
integer |
Minimum value: 0 Maximum value: 2147483647 |
0 |
||||||||||||||||
type |
Resource record type. |
option |
- |
A |
||||||||||||||||
|
|