G
G
gadzhi152016-10-24 10:41:30
linux
gadzhi15, 2016-10-24 10:41:30

Resolf.conf resets on Centos 7. How to be?

Centos 7. Set up network via nmtui. I'm trying to make my settings in resolf.conf. After a reboot, the file is overwritten. As I understand it, nmtui overwrites other than its settings. How to be in this case?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
G
gadzhi15, 2016-10-24
@gadzhi15

I'll clarify the question. For Asterisk, I need to add an options section to this file. How to do it?

P
Pavel, 2016-10-24
@electronik777

/etc/resolvconf/resolv.conf.d/base
enter the settings there

A
Andrey Korytov, 2016-10-24
@AKorytov

I don't remember from which version, but the DNS settings are no longer stored in resolv.conf. Write them in the interface settings, ifcfg-eth0 for example. In resolv.conf, the settings will be written from this file on reboot

D
Dmitry Lebedev, 2016-10-24
@k3NGuru

https://habrahabr.ru/post/280037/

A
Alexander Karabanov, 2016-10-24
@karabanov

So with the help of nmtui and edit the DNS.
682fb2364e674638834ebf661c92cc75.png

O
Oleg Drapeza, 2016-12-13
@SuperOleg39ru

Remove babel-loader from config, or rather don't add this setting in development mode:

{
        test: /\.(js|jsx)$/,
        exclude: /node_modules/,
        loader: 'babel',
        query: {
          cacheDirectory: true,
          plugins: ['transform-runtime', 'transform-decorators-legacy'],
          presets: ['es2015', 'react', 'stage-0']
        }
      }

And do not be lazy to learn how webpack works, everything will turn out to be very easy and understandable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question