Skip to main content
deleted 9 characters in body; edited title
Source Link
sebasth
  • 15.8k
  • 6
  • 53
  • 71

Setup linux system to only Only use /etc/hosts file for resolving ipshostnames on Linux

I want to disable dnsDNS lookups via dnsDNS server and only resolve host names that are listed in /etc/hosts. I am actually on Raspbian 9. How would I set this up?

Setup linux system to only use /etc/hosts file for resolving ips

I want to disable dns lookups via dns server and only resolve host names that are listed in /etc/hosts. I am actually on Raspbian 9. How would I set this up?

Only use /etc/hosts for resolving hostnames on Linux

I want to disable DNS lookups via DNS server and only resolve host names that are listed in /etc/hosts. I am on Raspbian 9. How would I set this up?

Source Link
Matthias
  • 143
  • 1
  • 4

Setup linux system to only use /etc/hosts file for resolving ips

I want to disable dns lookups via dns server and only resolve host names that are listed in /etc/hosts. I am actually on Raspbian 9. How would I set this up?