Asked By
Ma McKinney
50 points
N/A
Posted on - 05/03/2013
Can Linux map IP addresses to DNS?
If it is possible, please instruct me on how it is done.
I am familiar on how it is done in Windows but not in Linux.
I have been trying to figure it out for days now.
Can linux map ip addresses to dns as in Windows?
Â
The DNS system helps in translating IP addresses to the corresponding domain name hence no need to remember numbers like 192.168.0.1.
From my understanding you want to bind the name to the IP address and the quickest way to do that is to add the IP in the hosts file (/etc/hosts) same way you would do it in windows (windowssystem32driversetchosts).
Can linux map ip addresses to dns as in Windows?
Hi,
When you are using Unix or Linux operating systems, the one that provides access to the Domain Name System is the resolver. You can access the resolver configuration by going to /etc/resolv.conf.
This is where the resolver shows the contained information resolver routines during a process.
By using the cat command or gerp command, you can map the ip back to the dns and vice versa. Input this command:
And an output will show return something like this:
nameserver 192.168.1.2
nameserver 192.168.1.3
Regards,
Gibson