Hi,

  I wonder if someone can tell me how to prevent the contents of my
  /etc/resolv.conf from being re-written every time my NIC is brought
  up? Or at least, allow me to keep entries in that file that I have
  put there manually.

  Basically, the NIC connected to my cable modem has to use DHCP to
  get its address, etc, etc. But I also run a caching DNS server on
  that machine. Every time the interface is brought up it will
  re-write /etc/resolv.conf with settings it gets from my ISP's DHCP
  server, overwriting my entry to point to the local instance of BIND
  for DNS lookups. This is frustrating, as the result is that all the
  machines on my network use my self-hosted DNS server except the
  machine hosting the DNS server. :)

  I've read about adding the -R switch to dhcpcd but I wondered if
  there is another solution? I'm using mdk9.1.

  Many thanks,

  Graeme.

-- 
Graeme J Hosking

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to