/etc/resolv.conf being overwritten

I am using Jetpack 4.4 with jetson nano. I have uninstalled the resolvconf package from the system, and I have disabled systemd-resolved. I have also disabled NetworkManager from overwriting /etc/resolv.conf.

Every time I reboot the device the /etc/resolv.conf file gets overwritten with the same text:

# 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.1.1
search nvidia.com

This is curious since resolvconf package is not even installed.

Furthermore, I manually added dns-nameservers entry to /etc/network/interfaces and it is still not working?

How can I stop my /etc/resolv.conf file from being overwritten?

It looks like there is a systemd service or something else that is writing this file. Need to check which one is that.

But since you already uninstalled resolvconf package, why are you still using resolv.conf?

I have disabled systemd-resolved, uninstalled resolvconf, and added dns=none line to NetworkManager.conf. The file still gets overwritten on reboot. I do not experience the same behavior on stock ubuntu. Can you reproduce the behavior @WayneWWW ?

Is resolvconf package required to use resolv.conf file @WayneWWW ?