Link to home
Start Free TrialLog in
Avatar of Eric Donaldson
Eric Donaldson

asked on

question on local dns entry

How can I setup local dns for my cygwin instance?  This would need to work similar to the windows host file local dns.
Avatar of gfbarron
gfbarron
Flag of Canada image

Can you post output of ls -l /etc/hosts? If the file is there and you have permissions, then you should be able to edit using one of the built-in editors (vi/vim).

I believe this is  a symlink to your Windows Hosts file, so be careful not to overwrite anything you need.
Avatar of arnold
It would be helpful, if you provide what youare hoping to achieve the path you are on might not be a path you should follow.
Avatar of Eric Donaldson
Eric Donaldson

ASKER

yes, I do let output from ls -l /etc/hosts, it is showing lrwxrwxxrws 1 domain users date /etc/hosts --> path to windows host file here.  ALthough I am not able to save the changes?

I am trying to just test dns entry on a server.  I do not have real dns setup yet is why.
ASKER CERTIFIED SOLUTION
Avatar of Sudeep Sharma
Sudeep Sharma
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Assuming that you want to test this in cygwin, then you can backup the existing file. Edit an additional file, then overwrite the existing.