Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
DNS is Domain Name Service, ir does translation from Domain Name to IP address. It does not do file sharing services. This makes your question confusing, at best.
Loading your hosts file does not put the results into DNS, it bypasses DNS and does local translation.
Normally, it is not advisable to put two addresses in your hosts table (or DNS tables for that matter) that resolve from the same name. Although we call it hostname for historical reasons, the address and name are really interface or node names and should generally resolve uniquely.
I hope that this helps clear some things up a bit.
My guess is that it will only point to the first entry.
Second that it doesn't make any sense. What are you trying to do by this?
Some nas devices have ways to assist in name resolution.
Of course we can mix FQDN and locally provided name resolution under a few methods.
One might fool arp to static to get even more confusing.
Anytime you make static hosts or arp you run a risk that you'll forget to ,,, well,, don't forget.
We are moving some shares over to production on the linux machines. We want to utilize the redundancy offered by the NAS (two controllers). We are not updating the Host A record on our DNS server (Microsoft) for another 2 months since the majority of the shares are CIFS which are not ready to be migrated.
I will just create a few new Host A record on the Windows DNS server and just use that.
Last edited by trackstar2000; 10-24-2017 at 06:29 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.