Find the answer to your Linux question:
Results 1 to 2 of 2
Does any one know the proper way to add name servers in Ubuntu 12? They seem to have changed some things around. /etc/resolv is now a sym link. any data ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2012
    Location
    NY
    Posts
    1

    /etc/resolv is now a link in Ubuntu 12


    Does any one know the proper way to add name servers in Ubuntu 12?
    They seem to have changed some things around. /etc/resolv is now a sym link. any data put in file gets overwritten. I guess to push users into using an xwindows client to update things. I have gotten by this problem by adding the "nameserver" keyword in my interface file. But..... would like to know the clean way to add nameservers from commandline.

    Thanks,
    Eric Peyser

  2. #2
    Linux Newbie Charles4809's Avatar
    Join Date
    Nov 2008
    Location
    Utrecht, NL
    Posts
    138
    try this:
    Code:
    sudo dpkg-reconfigure resolvconf
    Charles
    ASUS EEE Box B202, Atom 270 1,6GHz, 1 GB, HDD 80GB, XP-SP3 / PinguyOS
    Asus EEE PC 901 with Bodhi-Linux

Posting Permissions

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