How To Add Domain Name Linux. How to setup nameserver in Red Hat. Here is the expected syntax for a simple domain join.
There a plenty of firms to pick from and also it can be challenging to decide which of them to choose. Echo 192168151 hostnamedblocal hostname etchosts 3. Set a DNS server on the configured computer.
How to setup domain name in Linux server Step 1.
You need to open file etcresolvconf in a text editor like vi or nano and add your name server IP in the below format. Displays every FQDN Fully Qualified Domain Name of the computer. In the networking terminology the domain name is the mapping of IP with the name. So this is how we can point a domain name to our localhost IP using Kali Linux system.