View previous topic :: View next topic |
Author |
Message |
GTXcube n00b
Joined: 05 Apr 2012 Posts: 31
|
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
Last edited by GTXcube on Mon Nov 19, 2012 2:42 pm; edited 1 time in total |
|
Back to top |
|
|
creaker l33t
Joined: 14 Jul 2012 Posts: 651
|
Posted: Mon Nov 19, 2012 2:27 pm Post subject: |
|
|
Code: | chattr +i /etc/resolv.conf |
|
|
Back to top |
|
|
ce110ut Apprentice
Joined: 27 Sep 2002 Posts: 200
|
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
|
Posted: Mon Nov 19, 2012 2:41 pm Post subject: |
|
|
@creaker
Thanks. It works |
|
Back to top |
|
|
|