Recent Changes - Search:

Softwares

.

Linux-TCP-IP-Network-Configuration-Files

Main.Linux-TCP-IP-Network-Configuration-Files History

Hide minor edits - Show changes to output

August 21, 2012, at 05:26 AM by 101.63.247.51 -
Added lines 14-43:

!!Example.


(:table border=1 width=50% bgcolor=yellow cellspacing=0 :)
(:cellnr:)
[@
[root@fedora ~]# hostname -f
fedora.example.com

[root@fedora ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=fedora.example.com
NTPSERVERARGS=iburst

[root@fedora ~]# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 8.8.8.8

[root@fedora ~]# grep dns /etc/nsswitch.conf
# dns Use DNS (Domain Name Service)
#hosts: db files nisplus nis dns
hosts: files dns myhostname
[root@fedora ~]#


@]
(:tableend:)
August 20, 2012, at 04:18 PM by 101.63.156.224 -
Added lines 1-26:
(:Google1:)
(:Googletxt:)
----
!!Linux TCP/IP Network Configuration Files:

!!/etc/resolve.conf
List DNS servers for internet domain name resolution.

!!/etc/hosts
Lists hosts to be resolved locally (not by DNS).

!!/etc/nsswitch.conf
List order of host name search. Typically look at local files, then NIS server, then DNS server.

!!Red Hat/Fedora/CentOS: /etc/sysconfig/network
Specify network configuration. eg. Static IP, DHCP, NIS, etc.

!!Red Hat/Fedora/CentOS: /etc/sysconfig/network-scripts/ifcfg-device
Specify TCP network information.

!!Ubuntu/Debian: /etc/network/interfaces
Specify network configuration and devices. eg. Static IP and info, DHCP, etc.

----

(:Googlemm:)
Edit - History - Print - Recent Changes - Search
Page last modified on August 21, 2012, at 05:26 AM