If resolv.conf is not needed, because the server needs no name/ip resolution, it might be more elegant to just keep the file blank instead of deleting it. That's what I wanted to say

An option would have been to put in the correct
DNS server IP and maybe a "search my.domain.org" or whatever is used instead of relaying on being in the same network or on /etc/hosts.