| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
If you want to add DomainKeys and SPF for every new account created on Cpanel, then do the following.
----------------------------------------------------------
Add DomainKeys for single user
/usr/local/cpanel/bin/domain_keys_installer username
-----------------------------------------------------------
----------------------------------------------------------cat /var/cpanel/users | while read a; do
/usr/local/cpanel/bin/domain_keys_installer $a
done
If you want to add SPF records for all cpanel accounts exist on your server then use the following command.
cat /var/cpanel/users | while read a; do
/usr/local/cpanel/bin/spf_installer $a
done
vi /scripts/postwwwacct
postwwwacct is a file which execute after wwwacct (used to create account), paste following lines in the file.
*******
#!/usr/bin/perl
my %OPTS = @ARGV;
$ENV{USER} = “$OPTS{’user’}”;
#For domain key
system q(/usr/local/cpanel/bin/domain_keys_installer $USER);
#for spf record
system q(/usr/local/cpanel/bin/spf_installer $USER);
********
save it and restart cpanel service.
And create account from WHM and check DNS once the account is created. You will the SPF record is added automatically.
For who have recently notice that now DNSreport do verify if your DNS is recursive lookup or not, here is the tip on how to set it up.
open you named.conf and add before options { the follow lines:
acl "trusted" {
xxx.xxx.xxx.xxx;
yyy.yyy.yyy.yyy;
};
where xxx.xxx.xxx.xxx is your ip address same for yyy.yyy.yyy.yyy.
for cpanel users, you can find yours ips in the follow file: /etc/nameserverips
after that, inside the options add after the line "// query-source address * port 53;" the follow:
allow-recursion { trusted; };
allow-notify { trusted; };
allow-transfer { trusted; };
also uncomment the line
"// query-source address * port 53;"
to
"query-source address * port 53;" without the (double-quotes).
restart your service.
Verify again your status with DNSreport.
For who have recently notice that now DNSreport do verify if your DNS is recursive lookup or not, here is the tip on how to set it up.
open you named.conf and add before options { the follow lines:
acl "trusted" {
xxx.xxx.xxx.xxx;
yyy.yyy.yyy.yyy;
};
where xxx.xxx.xxx.xxx is your ip address same for yyy.yyy.yyy.yyy.
for cpanel users, you can find yours ips in the follow file: /etc/nameserverips
after that, inside the options add after the line "// query-source address * port 53;" the follow:
allow-recursion { trusted; };
allow-notify { trusted; };
allow-transfer { trusted; };
also uncomment the line "// query-source address * port 53;" "to query-source address * port 53;" with out the " (double-quotes).
restart your service.
Verify again your status with DNSreport.
Observation: you can also set up a version line it should be like:
version "Oh come on why do you want to know witch version my DNS server is ?";
this line can be add iside your named.conf
| 4Images Gallery | /config.php |
| B2 Evolution | /conf/_basic_config.php |
| Boonex Dolphin | /inc/header.inc.php |
| Coppermine Photo Gallery | /include/config.inc.php |
| Cube Cart | /includes/global.inc.php |
| dotProject | /includes/config.php |
| Drupal | /sites/default/settings.php |
| FAQMasterFlex | /faq_config.php |
| Gallery | /config.php |
| Geeklog | /db-config.php /siteconfig.php /lib-common.php |
| Joomla | /configuration.php |
| Mambo | /configuration.php |
| Moodle | /config.php |
| Noahs Classifieds | /app/config.php |
| Nucleus | /config.php |
| osCommerce | /includes/configure.php /admin/includes/configure.php |
| PHP-Nuke | /config.php |
| phpBB | /config.php |
| phpFormGenerator | (only if you have saved form input to a database) /forms/admin/config.inc.php |
| PHPlist | /config/config.php |
| phpWCMS | /include/inc_conf/conf.inc.php |
| phpWebSite | /conf/config.php |
| PhpWiki | /admin.php /lib/config.php |
| Post-Nuke | /config.php |
| Siteframe | /config.php |
| SMF | /Settings.php |
| Soholaunch | /sohoadmin/config/isp.conf.php |
| TYPO3 | /typo3conf/localconf.php |
| vBulletin | /includes/config.php |
| WebCalendar | /includes/settings.php |
| WordPress | /wp-config.php |
| Xoops | /mainfile.php |
| Zen Cart | /includes/configure.php /admin/includes/configure.php |
1. Set the following parameters
Parameter Name | Description | Notes |
the mailbox of the person responsible for this DNS server. |
| |
TTL | "time-to-live": the time, in seconds, this DNS server caches (keeps) a piece of information received from your server before it asks your server again. |
The solution is as follows:
It is standard practice to reduce the TTL transmitted with information that is scheduled to change in order to make that change visible rapidly throughout the Internet; once the change has happened, the TTL is increased again. |
Refresh | the time interval, in seconds, before which the zones need to be updated. |
|
Retry | the time interval, in seconds, after which the next attemp of refresh should be taken, after a refresh failure. |
|
Expire | the upper limit, in seconds, on the time interval that can elapse before the zones are no longer authoritative |
|
Minimum TTL | the minimum number of seconds to be used for TTL value in RRs. | By default, 86400 (1 day) is set, which is a good value. |
There are a number of files responsible for the Virtuozzo system configuration. Most of the files are located in the /etc directory on the Hardware Node. However, some configuration files are stored in the /etc directory inside the Service Container, on the Backup Node, inside a Container, or on a dedicated server. In case a configuration file is located in a place other than the Hardware Node, we point clearly the exact position (the Service Container, etc.) where it can be found.
A list of configuration files is presented in the table below:
| The Virtuozzo global configuration file. This file keeps system-wide settings, affecting Container and Virtuozzo template default location, global network settings and so on. |
| The private configuration file owned by a Container numbered |
| Sample files, containing a number of default Container configurations, which may be used as a reference for Container creation. The following samples are shipped with Virtuozzo: |
| The configuration files used to determine what scripts are to be run on performing some operations in the Container context (e.g. on adding a new IP address to the Container). These scripts are different from Virtuozzo action scripts and depend on the Linux version the given Container is running. |
| The configuration file used for the Service Container creation by |
| Parallels Agent configuration files. |
| The definition of network classes, used by traffic shaping and bandwidth management in Virtuozzo. |
| This file specifies the default connection parameters for the |
| This configuration file specifies the default connection parameters for the |
| The configuration file for the |
| The configuration file used to define the parameters for establishing a private secure channel to the Parallels support team server. |
| The configuration file used to define the parameters for sending your problem report to the Parallels support team. |
| Kernel parameters. Virtuozzo adjusts a number of kernel |
| These files define the offline management modes for controlling Containers by Container administrators. |
| This configuration file defines the parameters used by the |
| The file lists the warning and/or error levels for a number of resource control parameters. If a parameter hits the warning or error value, the |
| This configuration file is located on the Monitor Node and used by the |
| The global configuration file residing on the Backup Node and determining the global Container backup settings. |
| The Red Hat Network (RHN) Proxy Server configuration file used by the |
| This configuration file is used by the |
| This configuration file is used by the |