PowerDNS is not designed to provide recursive results. It is intended to act only as an authoritative server for the domains it serves. This implies it will be serving domain data to other hosts.
sudo apt-get install pdns-server pdns-recursor
| if [ -f /var/run/rebooting-for-updates ]; then | |
| # start from where we left off on reboot | |
| sed -i '/bash/d' ~/.zshrc | |
| sudo rm -f /var/run/rebooting-for-updates | |
| echo "continuing after shell reload.." | |
| else | |
| echo "running script for the first time" |
| <?php | |
| /** | |
| * Clean WHMCS Logs | |
| * | |
| * Based on the script by @linux4me at: | |
| * https://whmcs.community/topic/289637-database-cleanup-operations-tbllog_register-and-tblactivitylog/ | |
| * | |
| * This script deletes records from the WHMCS `tbllog_register` table that are older than the specified date. | |
| * This is useful for keeping the database size down because WHMCS adds records every 5 minutes when the cron runs. | |
| * |
| location ~ /clients/admin/(client!\.php|client/(.*)|table/(.*)|search!\.php|search/(.*)|apps|billing|setup|user|services|addons|domains|utilitiesemailmarketer!\.php|utilities/(.*)|logs|help!\.php|help/license|modules|image/(recent|upload)|validation_com/(.*))/?(.*)$ { | |
| rewrite ^/(.*)$ /clients/admin/index.php?rp=/admin/$1/$2; | |
| } | |
| location ~ /clients/(images/em|invoice|domain|login|invite|password|account|store|download|knowledgebase|announcements|clientarea/ssl-certificates|user/(verification|accounts|profile|password|security|verify)|cart/(domain/renew)|domain/pricing|cart/order|images/kb)/?(.*)$ { | |
| rewrite ^/(.*)$ /clients/index.php?rp=/$1/$2; | |
| } | |
| location ~ /clients/auth/manage/client/links/?(.*)$ { | |
| rewrite ^/(.*)$ /clients/index.php?rp=/auth/manage/client/links$1; |
| server { | |
| listen 80 default_server; | |
| server_name readydedis.com www.readydedis.com; | |
| return 301 https://readydedis.com$request_uri; | |
| } | |
| # HTTPS server | |
| # | |
| server { | |
| listen 443; |
| "use client"; | |
| /* eslint-disable @next/next/no-img-element */ | |
| import Link from "next/link"; | |
| import { useState, useEffect } from 'react'; | |
| import { | |
| AppBskyFeedDefs, | |
| AppBskyFeedPost, | |
| type AppBskyFeedGetPostThread, | |
| } from "@atproto/api"; |
| * go to whm -> exim configuration manager | |
| * choose advanced editor | |
| * search spamd & replace with this: | |
| spamd_address = 127.0.0.1 11333 variant=rspamd | |
| set smtputf8_advertise_hosts = * | |
| * find and disable greylisting block | |
| * find and disable acl_smtp_data:default_check_message_pre |