Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (41 sloc) 1.495 kB
# OPTIONS:
#
# -i <iface> Network device <iface> (default: eth0).
# -r <file> Read pcap <file>.
# -l <file> Name of the logfile (default: /var/log/passivedns.log).
# -L <file> Name of NXDOMAIN logfile (default: /var/log/passivedns.log).
# -b 'BPF' Berkley Packet Filter (default: 'port 53').
# -p <file> Name of pid file (default: /var/run/passivedns.pid).
# -S <mem> Soft memory limit in MB (default: 256).
# -C <sec> Seconds to cache DNS objects in memory (default 43200).
# -P <sec> Seconds between printing duplicate DNS info (default 86400).
# -X <flags> Manually set DNS RR Types to care about(Default -X 46CDNPRS).
# -u <uid> User ID to drop privileges to.
# -g <gid> Group ID to drop privileges to.
# -T <dir> Directory to chroot into.
# -D Run as daemon.
# -V Show version and exit.
# -h This help message.
#
# FLAGS:
#
# 4:A 6:AAAA C:CNAME D:DNAME N:NAPTR O:SOA
# P:PTR R:RP S:SRV T:TXT M:MX n:NS
# x:NXD
#
## Default values
NAME=passivedns
PIDFILE=/var/run/passivedns.pid
DAEMON=/usr/bin/$NAME
## Quick and dirty:
INTERFACE="-i eth0"
LOGFILE="-l /var/log/passivedns.log"
NXLOGFILE="-L /var/log/passivedns-nx.log"
MAXMEM="-S 256"
PRINT="-P 86400"
RRTYPES="-X 46CDNOPRSTMnx"
#UID="-u 1"
#GID="-g 1"
#CHROOT="/usr/lib/passivedns/"
DEAMON="-D"
ARGS="$INTERFACE $LOGFILE $NXLOGFILE $MAXMEM $PRINT $RRTYPES $DEAMON"
Jump to Line
Something went wrong with that request. Please try again.