summaryrefslogtreecommitdiff
path: root/dns/adsuck/files/pkg-message.in
blob: cc377f4315c1cc5b8637aaf85f54ead777680081 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21


Quick way to use adsuck chrooted in /var/adsuck

mkdir /var/adsuck
cp %%EXAMPLESDIR%%/* /var/adsuck

# Adsuck forward to your old dns server
cp /etc/resolv.conf /var/adsuck

# Enable and start adsuck
echo adsuck_enable=\"YES\" >> /etc/rc.conf
/usr/local/etc/rc.d/adsuck start

# Use adsuck as dns server
echo "nameserver 127.0.0.1" > /etc/resolv.conf

If you're using DHCP consider configuring your dhclient.conf(5) to prevent
resolv.conf updates.