Install and Configure DNS on Linux Server

You would need to configure DNS server on the server, like bind:
yum install bind bind-utils

backup your bind config
mv /etc/named.conf /etc/named.conf_backup

create and edit new config

pico /etc/named.conf

and paste this config to the file:

###begin
options {
recursion no;
allow-query { any; };
allow-query-cache { any; }
;
};
zone “yourdomain.com” {
type master;
file “/var/named/yourdomain.com”;
};
###end

than you should create your domain zone file:

pico /var/named/yourdomain.com

#dns zone begin
$TTL 3600
yourdomain.com. IN SOA SKRS969.local. root.SKRS969.local. (2015021702 10800 3600 604800 86400)
yourdomain.com. IN NS ns1.yourdomain.com.
yourdomain.com. IN NS ns2.yourdomain.com.
yourdomain.com. IN MX 10 mail.yourdomain.com.
yourdomain.com. IN A 12.34.56.78
ns1 IN A 1.2.3.4
ns2 IN A 1.2.3.4
www IN CNAME yourdomain.com.
mail IN A 5.6.7.8
#dns zone end

where 1.2.3.4 – this server IP (dns server with bind)
5.6.7.8 – your MX mail server IP
12.34.56.78 – your webserver IP

or if dns, web and mail server are located on the same server – put one IP

restart DNS bind service:

/etc/init.d/named restart

Than you should registered nameservers for your domain in your domain registration site (ns1.yourdomain.com 1.2.3.4 , ns2.yourdomain.com 1.2.3.4) and than change NS for your domain to ns1.yourdomain.com and ns2.yourdomain.com.

Before changing NS on registrator site you can check is your bind work properly:

#dig @localhost yourdomain.com

you should get something like:

;; ANSWER SECTION:
yourdomain.com. 3600 IN A 1.2.3.4

;; AUTHORITY SECTION:
yourdomain.com. 3600 IN NS ns1.yourdomain.com.
yourdomain.com. 3600 IN NS ns2.yourdomain.com.

Turn on TLS 1.0, TLS 1.1, and TLS 1.2 in Advanced settings and try connecting to https again. If this error persists, contact your site administrator.

You will get the above error while browsing the site will https in IE . In order to solve the issue open gpedit.msc , Goto Administrative Templates , Windows Components , Internet Explorer , Internet Control Panel , Advanced Page , Change the “Turn Off Encryption support” to not configured .

Then open internet Explorer , goto internet options , Advanced tab , and check the checkbox Use TLS 1.1 , Use TLS 1.2 and click OK . Now you can browse the website with https without any problem .

TLS

How to Exit a telnet Session on Windows

We will assume that you are connected with telnet session .

To disconnect the session Press the “Control Key” and then  “]” Key .

Next type “Quit” and Enter to Exit

Untitled

 

Network Interface keeps going down on CentOS

You will usually find issue with CentOS with the NIC going down after a reboot in order to fix the issue

add these lines to the kernel line in grub:

pci_aspm=off pcie_aspm=off

Steps to Configure VPN on Windows Server 2012

Go to Server Manager , Add  Roles and Features , Check Remote Access , Direct Access and VPN(RAS) , click Install

untitled

untitled1

Open Routing & Remote Access MMC

untitled2

Click Custom Configuration ,  VPN Access , Click Next and the Service will start

untitled4

 

untitled5

 

Untitled6

 

Now goto computer Management and add a user for VPN Access

untitled7

Untitled8

Goto the User Properties , Dial-In Tab and check allow Access for Network Access Permission radio button

untitled12

Open Routing and Remote Access MMC select server properties => IPv4 Tab.
Click on Static Address Pool and enter the IP address range that will be assigned to the
client machines

Untitled9

select Security Tab on the Properties Page and click on “Authentication Methods”.

Uncheck all options except for MS CHAP v2

Untitled10

Untitled11

//--> Feedjit //--> Feedjit // --> Country Flags Flag Counter // --> Country Flags //--> Search Engine Submission
Free Search Engine Submission
Free Search Engine Submission