N
N
Nikita Viter2017-08-11 21:41:39
Domain Name System
Nikita Viter, 2017-08-11 21:41:39

How to remove dns from resolv.conf?

Good evening everyone.
I wanted to raise dns in the virtual machine, which means that two cards are configured in the machine: one looks at the Internet and receives ip via dhcp, and the second looks at LAN and has a static ip.
In resolv.conf, I specified the address 127.0.0.1, but the address of my router is still spinning there and I don’t understand how to remove it from there, because then all the forwarding will be through bind.
PS OS. Debian 9, dns server bind9.
Thank you very much in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Sechin, 2017-08-11
@tamogavk

resolv.conf is generated automatically, no need to go there, it received an entry automatically via dhcp from the provider - a regular situation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question