Cannot resolve host after uninstalling

The package dhcpcd5 gets installed, if not installed already, to configure IP settings for the interfaces and update /etc/resolv.conf:

pi@noads:~ $ tail /etc/dhcpcd.conf
[..]
interface eth0
  static ip_address=10.0.0.2/24
  static routers=10.0.0.1
  static domain_name_servers=127.0.0.1