Skip to main content

Posts

Showing posts from February, 2014

Configuring and Deploying DNS servers (primary, secondary, root and cache on centos 6.5) - Part 3 - Root and Cache

Configuration on Root DNS Server: The root zone maintains information regarding top-level domains. Root-zone servers for internet top-level domains are already deployed. With this you can create your own internet naming scheme, which is usually done in intranets who have their own top-level domains
Install bind packagesyum install bind bind-utils bind-chroot bind-libs Edit named.confvi /etc/named.conflisten-on port 53 { 192.168.12.4; }; //change this to your ip address
*remove the allow-query line
*optional remove recursion line

 zone "." IN {
        type master;
        file "root.net";
      };


Create and edit root.netvi /var/named/root.net$TTL 86400
@    IN    SOA    root.msm.net.    admin.root.msm.net. (
            535 ; serial
            3H ; refresh
            15M ; retry
            1W ; expiry
            1D ) ; minimum
@                IN    NS    root.msm.net.
root.msm.net.    999999        IN    A    192.168.12.4 //root servers ip and fqdn
msm.net.            IN  …

How to install Avidemux on Centos6

Create and edit /etc/yum.repos.d/naulinux-school.repo add these lines

[naulinux-school]
name=NauLinux School
baseurl=http://downloads.naulinux.ru/pub/NauLinux/6.2/$basearch/sites/School/RPMS/
enabled=0
gpgcheck=1
gpgkey=http://downloads.naulinux.ru/pub/NauLinux/RPM-GPG-KEY-linux-ink

Run this command and it will install ityum --enablerepo=naulinux-school install avidemuxENJOY! 


SOURCE:
https://www.centos.org/forums/viewtopic.php?f=13&t=2491&sid=53e0d3877a6af3ea5f267d2754098cbf&start=10

Configuring and Deploying DNS servers (primary, secondary, root and cache on centos 6.5) - Part 2 - Secondary DNS

This walk-through assumes that you have initial deployment of Primary DNS server. Look at my previous post for that.

Configuration on Primary DNS server:edit /etc/named.conf add the allow transfer statement in your zone declaration(both forward and reverse)

 zone "msm.net" {
        type master;
        file "msm.net.db";
allow-transfer { 192.168.12.3; };
};

zone "12.168.192.in-addr.arpa" {
        type master;
        file "msm.net.rev.db";
allow-transfer { 192.168.12.3; };
};
 Allow firewall to communicate on tcp/udp port 53iptables -I INPUT -p tcp --dport 53 -j ACCEPTiptables -I INPUT -p udp --dport 53 -j ACCEPTRestart the named deamonservice named restart Configuration on Secondary DNS server: Make sure you have internet access.
Install Bind packagesyum install bind bind-utils bind-chroot bind-libs edit /etc/named.conf listen-on port 53 { 192.168.12.3; }; //Ip address of the machine
*Remove the allow-query line
*Optional: remove recursion statement a…

Configuring and Deploying DNS servers (primary, secondary, root and cache on centos 6.5) - Part 1 - Primary DNS

Make sure you have connection to the internet before you attempt this.

Install BIND packages that provides DNS service yum install bind bind-utils bind-chroot bind-libsEdit the main file /etc/named.conf
listen-on port 53 { 192.168.12.2; }; //change this to your ip address
*Remove the allow-query line
zone "msm.net" IN { //chnage msm.net to your zone
        type master;
        file "msm.net.db"; //you can name it anything
};

zone "12.168.192.in-addr.arpa" IN { //this is for reverse lookup the zone will be                                                       //different for different ip address
        type master;
        file "12.168.192.rev.zone.db";
};

*Optional: remove the "." zone to disable caching.

Now create the "msm.net.db" file in /var/named and edit it (forward lookup)vi 'msm.net.db'$TTL 86400
@       IN   SOA  ns.msm.net.   nameserver.ns.msm.net. (
                        535 ; serial
                        3H ; refr…