DNS settings will be overwritten


my beaglebone black has to run only with static IP and static DNS.
I removed all dhcp clients and connman … so the static IP is working.

But the file “/etc/resolv.conf” is always empty after reboot. I read in web that the DHCP Client made this, but all are removed.

How can I kepp the “/etc/resolv.conf”?

The “/etc/network/interfaces” and “/etc/resolv.conf” are written by a tool. I can´t change this. So the “/etc/resolv.conf” has to keep after reboot

Thank you!