Michael Hennebry
2019-Aug-05 15:34 UTC
[CentOS] browsers slowing Centos 7 installation to a crawl
On Sun, 4 Aug 2019, John Pierce wrote:> So you need to modify the source file that NetworkManager is using. > somewhere in /etc/network or /etc/networking-scripts, a config file has > DNS0=192.168.0.1 or sokmething, or your system is getting that from DHCPWill check on that.> the web login on 192.168.0.1 is undoubtably your modem/router.-- Michael hennebry at web.cs.ndsu.NoDak.edu "Sorry but your password must contain an uppercase letter, a number, a haiku, a gang sign, a heiroglyph, and the blood of a virgin." -- someeecards
Michael Hennebry
2019-Dec-03 00:51 UTC
[CentOS] midco stealling searches, was browsers slowing Centos 7 installation to a crawl
On Mon, 5 Aug 2019, Michael Hennebry wrote:> On Sun, 4 Aug 2019, John Pierce wrote: > >> So you need to modify the source file that NetworkManager is using. >> somewhere in /etc/network or /etc/networking-scripts, a config file has >> DNS0=192.168.0.1 or sokmething, or your system is getting that from DHCP > > Will check on that.I've chacked on that. I've made what seemed like promissing changes to /etc/sysconfig/network-scripts/ifup-post and /etc/sysconfig/network-scripts/network-functions . No go. I still get the search line in resolv.conf . I've tried putting in search google.com , but on reboot, it still gives me midco and only midco . Any idea what does affect search in resolv.conf ? How can I fix this so I do not have to manually edit resolv.conf after each reboot. -- Michael hennebry at web.cs.ndsu.NoDak.edu "Sorry but your password must contain an uppercase letter, a number, a haiku, a gang sign, a heiroglyph, and the blood of a virgin." -- someeecards
Jonathan Billings
2019-Dec-03 13:21 UTC
[CentOS] midco stealling searches, was browsers slowing Centos 7 installation to a crawl
On Mon, Dec 02, 2019 at 06:51:44PM -0600, Michael Hennebry wrote:> I've chacked on that. > I've made what seemed like promissing changes to > /etc/sysconfig/network-scripts/ifup-post and > /etc/sysconfig/network-scripts/network-functions . > No go. > I still get the search line in resolv.conf . > I've tried putting in search google.com , > but on reboot, it still gives me midco and only midco . > > Any idea what does affect search in resolv.conf ? > How can I fix this so I do not have to > manually edit resolv.conf after each reboot.Neither of those files are the correct files to edit. You want to edit the ifcfg-<interface name> file (replace <interface name> with the name of the network interface) and add PEERDNS=no in the file. This will make it so DHCP doesn't overwrite the resolv.conf. If you just want to hard-code DNS servers, you can either do that in your networkmanager configuration, or add DNS1=9.9.9.9 to the ifcfg file. You can add a second IP with DNS2=1.1.1.1, too. Use whatever DNS IPs you want. This is documented in /usr/share/doc/initscripts-*/sysconfig.txt -- Jonathan Billings <billings at negate.org>
Apparently Analagous Threads
- midco stealling searches, was browsers slowing Centos 7 installation to a crawl
- browsers slowing Centos 7 installation to a crawl
- midco stealling searches, was browsers slowing Centos 7 installation to a crawl
- midco stealling searches, was browsers slowing Centos 7 installation to a crawl
- midco stealling searches, was browsers slowing Centos 7 installation to a crawl