/usr/share/doc/eggdrop-data/settings/mod.dns is in eggdrop-data 1.6.21-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | $Id: mod.dns,v 1.20 2011/04/01 11:59:49 pseudo Exp $
DNS Module
Last revised: September 26, 2010
_____________________________________________________________________
DNS Module
This module provides asynchronous dns support. This will avoid long periods
where the bot just hangs there, waiting for a hostname to resolve, which will
often let it timeout on all other connections.
This module requires: none
Put this line into your Eggdrop configuration file to load the dns
module:
loadmodule dns
There are also some variables you can set in your config file:
set dns-servers "8.8.8.8 8.8.4.4"
In case your bot has trouble finding dns servers or you want to use
specific ones, you can set them here. The value is a list of dns servers.
The relative order doesn't matter. You can also specify a non-standard
port.
The default is to use the system specified dns servers. You don't need to
modify this normally.
set dns-cache 86400
Specify how long should the DNS module cache replies at maximum. The
value must be in seconds.
Note that it will respect the TTL of the reply and this is just an upper
boundary.
set dns-negcache 600
Specify how long should the DNS module cache negative replies (NXDOMAIN,
DNS Lookup failed). The value must be in seconds.
set dns-maxsends 4
How many times should the DNS module resend the query for a given domain
if it receives no reply?
set dns-retrydelay 3
Specify how long should the DNS module wait for a reply before resending
the query. The value must be in seconds.
_____________________________________________________________________
Copyright (C) 2000 - 2011 Eggheads Development Team
|