Find the answer to your Linux question:
Results 1 to 3 of 3
Hi guys, this is vedaprasad. I am not able to find /etc/resolve.conf on my centos machine.it says no such file or dir .with out this file i am not able ...
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    7

    problem with /etc/resolve.conf

    Hi guys, this is vedaprasad. I am not able to find /etc/resolve.conf on my centos machine.it says no such file or dir .with out this file i am not able to connect to internet.when i ping my localhost and my machines ip address i am getting a reply.but when i ping some domain(eg - google.com) i get no reply.i tried manually entering the dns nameserver from system->adminstration->network->dns tab.i dono what ip to enter there..can some one please help


    Thanks in advance

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,097
    The filename is /etc/resolv.conf
    not /etc/resolve.conf

    If /etc/resolv.conf should also be missing, you can create it as a quickfix.
    Become root, and put this in the file:
    nameserver <IP_OF_YOUR_NAMESERVER>

    You should be able to resolve names now.

    Do a reboot and look at /etc/resolv.conf again for changes.
    You must always face the curtain with a bow.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    i tried manually entering the dns nameserver from system->adminstration->network->dns tab.i dono what ip to enter there
    You can use OpenDNS, Google DNS or DNS provided by your Internet Service provider.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...