I'll be very direct. I'm tired to search this and do not found anything about it. There is any way to change a lan ip to a dns (not chaging 'hosts' file)? Example: I've a centOs running in machine A and code any types of code in machine B. Either machine A and B are in same local area network and have differetns IP's. So, Machine B has as IP and Machine B has Machine A has docker on it, and I can acess from machine B as What I'm trying to accomplish is: Machine B insted of reaching machine A with IP ( I'm intend to reach with anyname.dsv.local.


Yes you can do it. You have to set up BIND as a Private Network DNS Server.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.