dns

IPCONFIG command Windows - check IP address and DHCP status of your system

IPCONFIG: This command is used to get information about your system’s network setup and configuration, or broadband internet connection, and details. The IPCONFIG command used by itself provides you with a concise list of the network interfaces on your system and their IP addresses.

 

DNS resolvers


 

Checking your Linux host name and Configuring /etc/hosts and Setting the Host Name using hostname

Checking your Linux host name
First, see if your host name is set correclty using the following commands:

uname -n
hostname -a
hostname -s
hostname -d
hostname -f
hostname

If the above commands return correctly with no errors then all may be well; however, you may want to read on to verify that all settings are correct.

Configuring /etc/hosts
If your IP address is assigned to you by a DHCP server, then /etc/hosts is configured as follows:

127.0.0.1 mybox.mydomain.com localhost.localdomain localhost mybox

 

Syndicate content