Windows local dns hosts file is found at c:\windows\system32\drivers\etc. Is there a similar hosts file in ubuntu / linux and where to find the same?

1 answers, votes, 934 views
oid4a44559432d46's picture
asked by oid4a4455943...
2 years 32 weeks ago



1 Answers

Answer

Ubuntu linux local dns file is at /etc folder called hosts i.e /etc/hosts
 
You can add entries like the following <ip address> <host or domain name>
for example
192.168.1.1    www.yourowndomainnamessssss.com

fruper's picture
answer by fruper
2 years 29 weeks ago

Ubuntu 11.04 released!

Ubuntu 11.04 code named natty narwhal is released download ubuntu 11.04

Read ubuntu 11.10 reviews and share yours now!!

View in your own language!

Stay Connected

Ubun2.com on Facebook Ubun2.com on Twitter RSS Feeds

Poll

Favorite desktop environment?: