mounting cifs/nfs using DNS
Hello,
We have a NAS that has 2 logical interfaces. On my Linux machine (Centos), looking to mount CIFS/NFS using DNS. So on my hosts file, I am placing two entries of the NAS IP interfaces (192.168.x.1 / 192.168.x.2). Can somebody confirm its ok? 192.168.x.1 nas 192.168.x.2 nas Btw, our Windows DNS won't be updated for a while. We are migrating the application on the Linux side first. Thanks, TT |
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. |
Quote:
I will just create a few new Host A record on the Windows DNS server and just use that. |
All times are GMT -5. The time now is 05:58 AM. |