| View previous topic :: View next topic |
| Author |
Message |
GTXcube n00b

Joined: 05 Apr 2012 Posts: 31 Location: Slovakia
|
Posted: Mon Nov 19, 2012 2:20 pm Post subject: [Solved] How to change DNS server ? |
|
|
Hello people. I tried to change dns ip in /etc/resolv.conf but always when i restart networkmanager, it changes it back to default. How to change my dns ips permanently ? thanks _________________ Gentoo inside
Last edited by GTXcube on Mon Nov 19, 2012 2:42 pm; edited 1 time in total |
|
| Back to top |
|
 |
creaker Tux's lil' helper

Joined: 14 Jul 2012 Posts: 128
|
Posted: Mon Nov 19, 2012 2:27 pm Post subject: |
|
|
| Code: | | chattr +i /etc/resolv.conf |
_________________ Intel Core i3-2120 / 4Gb RAM / 250Gb HDD / NVidia GeForce-550Ti |
|
| Back to top |
|
 |
ce110ut Apprentice


Joined: 27 Sep 2002 Posts: 199
|
Posted: Mon Nov 19, 2012 2:28 pm Post subject: |
|
|
Hello GTXcube,
/etc/resolv.conf is updated by dhcp client, each time it is [re]started. What you want is to configure your system to custom settings, either thru this doc:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=8
or possibly thru NetworkManager. I'm not too familiar with what NetworkManager offers in terms of options. |
|
| Back to top |
|
 |
GTXcube n00b

Joined: 05 Apr 2012 Posts: 31 Location: Slovakia
|
Posted: Mon Nov 19, 2012 2:41 pm Post subject: |
|
|
@creaker
Thanks. It works  _________________ Gentoo inside |
|
| Back to top |
|
 |
|