Showing posts with label Linux Networking. Show all posts
Showing posts with label Linux Networking. Show all posts

Name Resolver Configuration (resolv.conf) in Linux

Name Resolver


The name resolver is used to convert a human friendly name (hostname) to machine friendly name i.e. (IP address). It is use to configure client side access to the Internet Domain Name System (DNS). This file defines which name servers to use.


Fully Qualified Domain Name


A fully qualified domain name (FQDN) is the complete domain name for a specific computer or host on the Internet. The FQDN consists of two parts: the hostname and the domain name.
The following are examples of FQDNs:
www.pagelinux.com
mail.pagelinux.com

Here .com is the top-level domain (TLD). This is similar to the root directory, from which all other directories originate.
www.pagelinux.com is the FQDN of the web server. Here www is the hostname and pagelinux.com is domain name.

Network Interface Configuration (ifconfig) in Linux

ifconfig command


The “ifconfig” or interface configuration command is used for displaying and configuring the network configuration information like ip address, broadcast address, netmask etc.

ifconfig is used to configure the system's kernel-resident network interfaces. It is used at boot time to set up interfaces as necessary. After that, it is usually only needed when debugging or when system tuning is needed.