2011-06-02 09:41:36 -04:00
|
|
|
$OpenBSD: README,v 1.4 2011/06/02 13:41:39 ajacoutot Exp $
|
2010-11-15 13:13:45 -05:00
|
|
|
|
2011-06-02 09:41:36 -04:00
|
|
|
+-----------------------------------------------------------------------
|
|
|
|
| Running ${FULLPKGNAME} on OpenBSD
|
|
|
|
+-----------------------------------------------------------------------
|
2009-03-06 11:55:26 -05:00
|
|
|
|
2011-03-18 09:13:59 -04:00
|
|
|
Running adsuck(1) locally with dhclient(8)
|
2011-06-02 09:41:36 -04:00
|
|
|
==========================================
|
2009-03-06 11:55:26 -05:00
|
|
|
|
2011-03-18 09:13:59 -04:00
|
|
|
To make dhclient(8) play nice with adsuck(1), the following script has
|
|
|
|
been installed:
|
|
|
|
|
|
|
|
${TRUEPREFIX}/sbin/dhclient-adsuck
|
|
|
|
|
|
|
|
Provided that adsuck(1) is installed and adsuck_flags is not set to "NO"
|
|
|
|
in rc.conf.local(5), this script will prevent from using
|
|
|
|
/etc/resolv.conf to resolve non-blacklisted entries but use
|
|
|
|
/var/adsuck/files/resolv.conf instead.
|
2011-04-18 12:36:59 -04:00
|
|
|
For a proper use you need to add this line to /etc/dhclient.conf:
|
|
|
|
|
|
|
|
script "${PREFIX}/sbin/dhclient-adsuck";
|
2011-03-18 09:13:59 -04:00
|
|
|
|
|
|
|
Make sure that /etc/resolv.conf only contains:
|
|
|
|
|
|
|
|
nameserver 127.0.0.1
|