no need to do that it is already loaded
- Code: Select all
root@Acrab:/ # proftpd -vv
ProFTPD Version: 1.3.5rc4 (devel)
Scoreboard Version: 01040003
Built: Sat Feb 1 2014 15:28:54 GMT+1
Loaded modules:
mod_lang/1.0
mod_cap/1.1
mod_sftp/0.9.9
mod_dynmasq/0.4
mod_tls/2.6
mod_ident/1.0
mod_facts/0.3
mod_delay/0.7
mod_site.c
mod_log.c
mod_ls.c
mod_auth.c
mod_auth_file/1.0
mod_auth_unix.c
mod_rlimit.c
mod_xfer.c
mod_core.c
About masquerade Ip you can check this
- Code: Select all
root@Acrab:/ # proftpd -t
Checking syntax of configuration file
2015-01-07 19:13:37,842 Acrab.local proftpd[3236]: warning: config file '/etc/proftpd.conf' is world-writable
2015-01-07 19:13:37,992 Acrab.local proftpd[3236]: warning: handling possibly truncated configuration data at line 433 of '/etc/proftpd.conf'
2015-01-07 19:13:38,056 Acrab.local proftpd[3236] 127.0.0.1: 127.0.0.1:21 masquerading as 86.221.145.135
Syntax check complete.
But read the DynMasqRefresh help
So DynMasqRefresh resolves a DNS name.DynMasqRefresh
Syntax: DynMasqRefresh secs
Default: None
Context: "server config"
Module: mod_dynmasq
Compatibility: 1.2.10
The DynMasqRefresh directive configures the amount of time, in seconds, between mod_dynmasq's checking and updating of all MasqueradeAddress directives. If no DynMasqRefresh directive is configured, then the module will do no checking.
The process of resolving a DNS name to its IP address can, depending on the DNS configuration, take a noticeable amount of time. This, combined with the number of MasqueradeAddress directives in your proftpd.conf, can cause mod_dynmasq to make the daemon unavailable while it resolves all addresses. Therefore it is highly recommended that the configured interval be as long as possible, for example for 8 hours.
if you use a WAN IP with MasqueradeAddress (so when you don't use the ddns feature), DynMasqRefresh will do nothing
maybe I can change this behavior: for example if you enable masquerade option, it will use the servername as DNS (of course it will fail it you use a wrong DNS)use a WAN IP with MasqueradeAddress (so when you don't use the ddns feature)