Re: [RFC] Automated generation of /etc/resolv.conf from the rc.d script

From: Zaphod Beeblebrox <zbeeble_at_gmail.com>
Date: Mon, 14 Apr 2008 13:26:14 -0400
On Fri, Dec 14, 2007 at 6:14 AM, Eygene Ryabinkin <rea-fbsd_at_codelabs.ru>
wrote:


> This can be achieved with the script /etc/dhclient-exit-hooks that
> will create the file with named 'forwarders' clause using values
> from 'new_domain_name' and 'new_domain_name_servers' variables that
> are exported to the hooks script by /sbin/dhclient-script.  The
> former file can be included from named.conf, so the restart or
> reload of the local named instance from the exit hooks script will
> do the trick.


Last I tried, the OpenBSD dhclient we imported a year ago blithely ignored
the dhclient-exit-hooks scripts.  This is annoying because in my
application, I want to set specific routes not default routes on a
successful DHCP (ie: a tunneling CPE device).  I had to revert to the
ISC-DHCP to restore working dhclient script functionality.  Note also that
the source and man documentation on this subject appear to document the
correct behaviour (not the behaviour of the system).
Received on Mon Apr 14 2008 - 15:53:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:29 UTC