Dns-Server - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
Table of Contents

Advertisement

D
H
C
YNAMIC
OST
ONFIGURATION
-
DNS
SERVER

dns-server

Overview
This command adds a Domain Name System (DNS) server to the DHCP address
pool you are configuring. You can use this command multiple times to create a list
of DNS name servers available to the client. This sets the DNS server details using
the pre-defined option 6.
Note that if you add a user-defined option 6 using the
will override any settings created with this command.
The no variant of this command removes either the specified DNS server, or all DNS
servers from the DHCP pool.
dns-server <ip-address>
Syntax
no dns-server [<ip-address>]
Mode
DHCP Configuration
Examples
To add the DNS server with the assigned IP address 192.168.1.1 to the DHCP pool
named P1, use the following commands:
awplus#
awplus(config)#
awplus(dhcp-config)#
To remove the DNS server with the assigned IP address 192.168.1.1 from the DHCP
pool named P1, use the following commands:
awplus#
awplus(config)#
awplus(dhcp-config)#
To remove all DNS servers from the DHCP pool named P1, use the following
commands:
awplus#
awplus(config)#
awplus(dhcp-config)#
Related
default-router
Commands
option
service dhcp-server
show ip dhcp pool
subnet-mask
C613-50170-01 Rev B
P
(DHCP) C
ROTOCOL
OMMANDS
Parameter
<ip-address>
configure terminal
ip dhcp pool P2
configure terminal
ip dhcp pool P2
configure terminal
ip dhcp pool P2
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
Description
IPv4 address of the DNS server, in dotted decimal notation.
dns-server 192.168.1.1
no dns-server 192.168.1.1
no dns-server
option
command, then you
2437

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents