Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: [Original edit by Dave]

...

No Format
search example.com
nameserver 127.0.0.1

NOTE: Make sure DHCP is not changing the nameserver setting in If something like NetworkManager is reverting your changes in /etc/resolv.conf or you don't have permission to update the /etc/resolv.conf away from , you may specify a DNS server in the local.cf:

No Format

dns_server 127.0.0.1

...


Testing

Use dig to test DNS queries. If you don't get a response then the local DNS server could:

...