110
Network
4.5 DNS Server and Domain Name
DNS server is a host that resolves host names in the network. This is related to the
domain name of the unit, both configurations are made in the same file, so they will be
presented together in this section.
VI mode
To set the DNS server and the domain name of your network edit the
/etc/resolv.conf
file.
The below example will configure “cyclades.com” as domain and 192.168.0.2 as DNS.
To configure it follow the steps below:
Step 1 - Open the
/etc/resolv.conf
file.
It is necessary to edit this file, to do this, run the command:
# vi /etc/resolv.conf
Step 2 - Configure the
/etc/resolv.conf
file
The syntax of this file must be as the following example:
Step 3 - Save the configuration.
To save all changes made, run the command:
# saveconf
CLI Method - DNS and Domain Name
The example below will set up
cyclades.com
as domain name and 192.168.0.2 as DNS
server of the ACS .
Step 1 - Open the CLI interface by issuing the command:
# CLI
Step 2 - Configuring
cyclades.com
as domain name.
cli> config network hostsettings domain cyclades.com
NOTE:
This parameter is disregarded when DHCP is enabled.
domain cyclades.com
#Domain name for the network
nameserver 192.168.0.2
#DNS server for the network
File Description 4.5: /etc/resolv.conf
Содержание AlterPath ACS
Страница 16: ...xvi Table of Contents...
Страница 29: ...13 This page has been left intentionally blank...
Страница 30: ...14 Preface...
Страница 68: ...52 Device Access...
Страница 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Страница 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Страница 114: ...98 Authentication...
Страница 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Страница 268: ...252 Power Management with AlterPath PM Integration...
Страница 304: ...288 PCMCIA Cards Integration...
Страница 338: ...322 Profile Configuration...
Страница 364: ...348 Additional Features and Applications...
Страница 376: ...360 Appendix A New User Background Information...
Страница 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Страница 418: ...402 List of Tables...
Страница 420: ...404 List of Figures...