LINNX networking profile

networking

/etc/gated.conf

gated configuration. It can only be used by the gated daemon.

/etc/gated.version

The version number includes gated daemon.

/etc/gateway

Optionally used by the routed daemon.

/etc/networks

Enumerate network name and network address from a network connected machine can access. By using the route command. Allow network name.

/etc/protocols

Cited protocol currently available. See NAG (Network Administrator's Guide, Network Administrators Guide) and online help pages. C interface is getprotoent. You must not be changed.

/etc/resolv.conf

Tells the kernel when the program request "resolve" an IP address which name server should query.

1. File Format

/etc/resolv.conf is the system's DNS resolver configuration file, the most common use is used to specify the DNS server address used by the system, you can specify up to MAXNS DNS server, MAXNS is a constant, in / usr / include /resolv.h defined, typically 3. Each DNS server address in dotted decimal format should be written on separate lines, preceded by the keyword nameserver. E.g:

nameserver 173.26.100.99

nameserver 202.118.224.101

Here we specify two DNS servers, ip addresses are 173.26.100.99 and 202.118.224.101. When the system DNS resolution is required, preferably used in the previous column DNS Server, if the parse fails to switch to the next DNS Server.

2. Security

The default permissions for /etc/resolv.conf 0644

/etc/host.conf

1. File Format

/etc/host.conf is also a DNS resolver configuration file, but it's most common use is to specify a method used by the parser used. In general, DNS can be resolved in two ways, first query the DNS server, the second is to use the local host table hosts. /etc/host.conf method which can be used to specify the precedence. Available with one or more DNS query methods, separated by commas between the rear can specify their priority .order order to use keyword, its priority order. DNS query methods available are: hosts, bind, nis, respectively, using the local host table hosts, DNS servers, NIS server for DNS queries. The most common configuration is:

order bind,hosts

2. Security

The default permissions for /etc/host.conf 0644

/etc/rpc

RPC comprising instructions / rules, instructions / NFS rules may be invoked, a remote file system installation used.

/etc/exports

To export the file system (NFS) and its privileges.

/etc/services

Convert the network service name to port number / protocol. , Telnet, tcpdump and other programs read by inetd. There are some C access routines.

/etc/inetd.conf

inetd configuration file. See inetd online help pages. Each entry includes network services, inetd daemon must be controlled or other services to these network services. Note that the service will run, but in the / etc / services they are commented out, so that even if these services are running will not be available. Format: <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>

/etc/sendmail.cf

Mail program sendmail configuration file. More obscure, difficult to understand.

/etc/sysconfig/network

Pointed NETWORKING = yes or no. At least read by rc.sysinit.

/etc/sysconfig/network-scripts/if*

Red Hat 网络配置脚本。

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11109373.html