1

I'm running a 3rd party vpn daemon that changes resolv.conf on init and checks for changes continuously.

I installed my own local dns cache that gets properly inside resolv.conf but the vpn daemon puts its resolvers before that and I'm getting huge timeouts.

Any idea on how could I use another config file to specify I want to resolve my own stuff or at least reducing the standard dns timeout(5 secs) without touching resolv.conf

1 Answers1

3

I'd be invoking the awesome power of chattr +i /etc/resolv.conf to make the file immutable, or else hunting down the author of the VPN client and beating them around the head with a clue-by-four.

womble
  • 96,255
  • 29
  • 175
  • 230