I am not sure about what problem you are trying to solve. Won't the lines added by resolvd be overwritten anyway the first time you use the backed up file?
What I'm trying to solve is that static part of the configuration being mixed up with configuration generated runtime in a single file, which leads to a few inconveniences: - resolv.conf will show up in the diff between backups all the time even if nothing has really changed; - when migrating the configuration to a different deployment, for example, one where IP address is statically assigned, resolvd will not overwrite the "stale" auto-configured lines, and the old nameserver info will linger unless manually removed. For now resolv.conf is the only configuration file I know of that gets mixed up with runtime info, and it's manageable; but imagine if many more configuration files follow similar principles, the administrative overhead can quickly become too much.

