Moxa V2403-C7-W-T [20/90] Etc nsswitch conf

Moxa V2403-C7-W-T [20/90] Etc nsswitch conf
V2403 Series Linux Software Managing Communications
3-5
nameserver 168.95.1.1
root@MOXA:/etc# cat resolv.conf
#
# resolv.conf This file is the resolver configuration file
# See resolver(5).
#
#nameserver 192.168.1.16
nameserver 168.95.1.1
nameserver 140.115.1.31
nameserver 140.115.236.10
MOXA:/etc#
/etc/nsswitch.conf
This file defines the sequence of files, /etc/hosts or /etc/resolv.conf, to be read to resolve the IP address.
The hosts line in /etc/nsswitch.conf means use /etc/host first and DNS service to resolve the address.
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference’ and `info’ packages installed, try:
# `info libc “Name Service Switch”‘ for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
Configuring Ethernet Bonding
The Linux bonding driver provides a method for aggregating multiple network interfaces into a single logical
“bonded” interface. To use the bonding feature, load the bonding driver. Then use ifenslave to add the Ethernet
interface into the bond0 interface. The following script bonds eth1 and eth2 together; you can place the script
in /etc/init.d/bonding.sh.
#! /bin/bash
#### BEGIN INIT INFO
# Provides: bonding
# Short-Description: Start the bonding service, bond eth1 and eth2.
# Required-Start: $all
# Required-Stop: $all
# Should-Start:

Содержание

Похожие устройства

Скачать