BackBox.org Forum

Community => Howtos => Topic started by: Ayoubexax on October 18, 2018, 11:09:12 PM

Title: DNS does not change why ?
Post by: Ayoubexax on October 18, 2018, 11:09:12 PM
why i change dns server in /etc/dhcp/dhclient.conf , the domain name server does change in the file /etc/resolv.conf ??

/etc/dhco/dhclient.conf

...
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name 208.67.222.222;
prepend domain-name-servers 208.67.222.222;
#require subnet-mask, domain-name-servers;
timeout 300;
#retry 60;
#reboot 10;
#select-timeout 5;
.....



/etc/resolv.conf

ayoubx@y:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
ayoubx@y:~$

i wanna know how to change it permanently







Title: Re: DNS does not change why ?
Post by: ostendali on December 19, 2018, 10:57:49 AM
I am sorry but you are lacking in basic notions of networking or even system in general.

to do permanently you can do in 2 ways, have a dhcp server with settings do your pc can grab the staff from there or set static ip instead of dynamic. This forum is for people who already should know networking and linux systems at average level.