Contents
How set DNS entry in Linux?
Configuration of DNS services under Linux involves the following steps:
- To enable DNS services, the “/etc/host.conf” file should look like this: …
- Configure the “/etc/hosts” file as needed. …
- The “/etc/named. …
- Now you can set up your DNS tables in the “var/named/” directory as configured in the “/etc/named.
What is DNS configuration file in Linux?
The /etc/resolv. conf file contains the local DNS servers that the system uses. The first line is for the default search domain, and the second line indicates the IP address of the name server. You can use your own DNS server once your BIND service running, just type them in the resolver.