20 Domain Name Linux Server New

If you are using red hat or fedora linux older version use redhat config network gui tool.
Domain name linux server. How to setup domain name in linux server step 1. Both linux unix comes with the following utilities to display hostname domain name. D nisdomainname show or set system s nis yp domain name.
Type following command and click on dns tab setup hostname and domain name. A hostname show or set the system s host name. C dnsdomainname show the system s dns domain name.
Add domain in. You can check the fqdn using hostname fqdn or the domain name using dnsdomainname. Features of domain name system dns domain name system dns provides name resolution services to the client computers.
Dns is a hierarchical decentralized naming system for computers services or other resources connected to the internet or a private network. First thing to be done is add fqdn to your hostname in etc hosts file. Dns stands for domain name system or domain name servers translates internet domain and host names to ip addresses and vice versa.
For example if your lab host ip address is 192 168 0 203 as is my epc add the following line to the top of the name server list in etc resolv conf. To enable your lab host to use the caching name server you must add a name server line to point to your own host in etc resolv conf. Linux dns servers can operate in three modes and these modes are caching only dns server primary dns.
Configure domain name in ubuntu edit your hostname not fqdn in etc hostname file. Domain name system dns provides ip address to hostname mapping. B domainname show or set the system s nis yp domain name.