Page 546 / 998 Scroll up to view Page 541 - 545
Domain name system - DNS
DNS Relay command reference
iMG/RG Software Reference Manual (System Administration)
5-86
5.2.3.1.2 DNSRELAY ADD SERVER
Syntax
DNSRELAY ADD SERVER <ip-address>
Description
This command adds the IP address of a DNS server to DNS relay’s list of server IP
addresses. The relay can store a maximum of 10 DNS server addresses.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> dnsrelay add server 239.252.197.0
DNS server set to 0.0.0.0
DNS server set to 239.252.197.0
See also
DNSRELAY LIST SERVERS
5.2.3.1.3 DNSRELAY CLEAR SERVERS
Syntax
DNSRELAY CLEAR SERVERS
Description
This command deletes all DNS server IP addresses stored in DNS relay’s list of server IP
addresses.
Example
--> dnsrelay clear servers
See also
DNSRELAY DELETE SERVER
5.2.3.1.4 DNSRELAY DELETE SERVER
Syntax
DNSRELAY DELETE SERVER <id-number>
Description
This command deletes a single DNS server address stored in DNS relay’s list of server IP
addresses.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Description
Default Value
ip-address
The IP address of a DNS server that DNS relay can
use, in the format: 192.168.102.3
0.0.0.0
Page 547 / 998
DNS Relay command reference
Domain name system - DNS
5-87
iMG/RG Software Reference Manual (System Administration)
Example
--> dnsrelay delete server 3
See also
DNSRELAY LIST SERVERS
5.2.3.1.5 DNSRELAY ENABLE|DISABLE
Syntax
DNSRELAY {ENABLE | DISABLE}
Description
This command enables/disables DNS relay on your device. You must have DNS relay
enabled in order to carry out any DNS relay configuration. If you try configuring DNS
relay before you have entered the dnsrelay enable command, the CLI issues a warning
message.
To display the current state of DNS relay, use the
DNSRELAY SHOW
command
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> dnsrelay disable
See also
DNSRELAY LIST SERVERS
5.2.3.1.6 DNSRELAY SHOW
Syntax
DNSRELAY SHOW
Description
This command indicates the status of DNS relay, enabled or disabled.
Example
--> dnsrelay show
Global DNS Relay Configuration:
Status: ENABLED
Option
Description
Default Value
ID number
A number that identifies the DNS server in the DNS
relay list. To display server numbers, use the
DNSRELAY LIST SERVERS
command.
N/A
Option
Description
Default Value
enable
Enables dnsrelay.
enable
disable
Disables dnsrelay.
Page 548 / 998
Domain name system - DNS
DNS Relay command reference
iMG/RG Software Reference Manual (System Administration)
5-88
See also
DNSRELAY LIST SERVERS
5.2.3.1.7 DNSRELAY LIST SERVERS
Syntax
DNSRELAY LIST SERVERS
Description
This command displays the DNS relay’s list of DNS server IP addresses with their identi-
fication numbers.
Example
--> dnsrelay list servers
DNS Relay Servers:
ID
| IP Address
-----|------------------
1 | 239.252.197.0
------------------------
5.2.3.1.8 DNSRELAY SET HOSTNAME
Syntax
DNSRELAY SET HOSTNAME <name>
Description
This command sets the host name of your device.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> dnsrelay set hostname myhost
See also
DNSRELAY SET LANDOMAINNAME
DHCPSERVER SET SUBNET ASSIGNAUTODOMAIN
5.2.3.1.9 DNSRELAY SET DYNAMICSERVERPRIORITY
Syntax
DNSRELAY SET DYNAMICSERVERPRIORITY ENABLE|DISABLE
Description
This command enable or disable the dynamic server priority when more than one server
is available.
5.2.3.1.10 DNSRELAY SET LANDOMAINNAME
Syntax
DNSRELAY SET LANDOMAINNAME <name>
Option
Description
Default Value
name
The hostname that identifies your device.
N/A
Page 549 / 998
DNS Client command reference
Domain name system - DNS
5-89
iMG/RG Software Reference Manual (System Administration)
Description
This command sets the LAN domain name of your device. DHCP server can then be
configured to give out this address to DHCP clients.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> dnsrelay set landomainname alliedtelesyn.com
See also
DNSRELAY SET LANDOMAINNAME
DHCPSERVER SET SUBNET ASSIGNAUTODOMAIN
5.2.3.1.11 DNSRELAY SHOW LANDOMAINNAME
Syntax
dnsrelay show landomainname
Description
This command displays the domain name used by the DNS relay to determine if a host
name request is for the local database.
Example
--> dnsrelay show landomainname
LAN Domain Name: alliedtelesyn.com
See also
DNSRELAY SET LANDOMAINNAME
5.2.4
DNS Client command reference
This section describes the commands available on the gateway to enable, configure and manage the
DNS Client
module.
5.2.4.1 DNS Client CLI commands
The table below lists the
DNSclient
commands provided by the CLI:
Option
Description
Default Value
name
The LAN domain name that identifies your device.
N/A
Page 550 / 998
Domain name system - DNS
DNS Client command reference
iMG/RG Software Reference Manual (System Administration)
5-90
TABLE 5-5
DNS Client Commands
5.2.4.1.1 DNSCLIENT ADD SEARCHDOMAIN
Syntax
DNSCLIENT ADD SEARCHDOMAIN <searchstring>
Description
This command creates a domain search list. The DNS client uses this list when a user
asks for the IP address list for an incomplete domain name. The search string specified
replaces any previous search strings added previously using this command.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
--> dnsclient add searchdomain alliedtelesyn.com
See also
DNSCLIENT LIST SEARCHDOMAINS
5.2.4.1.2 DNSCLIENT ADD SERVER
Syntax
DNSCLIENT ADD SERVER <ipaddress>
Commands
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
DNSCLIENT ADD SEARCHDOMAIN
X
X
X
X
X
X
X
X
X
DNSCLIENT ADD SERVER
X
X
X
X
X
X
X
X
X
DNSCLIENT CLEAR SEARCHDOMAINS
X
X
X
X
X
X
X
X
X
DNSCLIENT CLEAR SERVERS
X
X
X
X
X
X
X
X
X
DNSCLIENT DELETE SEARCHDOMAIN
X
X
X
X
X
X
X
X
X
DNSCLIENT DELETE SERVER
X
X
X
X
X
X
X
X
X
DNSCLIENT DELETE SERVER
X
X
X
X
X
X
X
X
X
DNSCLIENT LIST SEARCHDOMAINS
X
X
X
X
X
X
X
X
X
DNSCLIENT LIST SERVERS
X
X
X
X
X
X
X
X
X
Option
Description
Default Value
searchstring
A search string used to find the IP address for an
incomplete domain name. You can have a maximum
of 6 incomplete domain names in the search string.
N/A

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top