Setup DNS using Bind / named

39 sec read

|| what is bind
please take a look this

|| install bind (debian)

# aptitude install bind9

|| setting bind
| setup file named.conf

# vi /etc/bind/named.conf.local
zone "blackonsole.org" IN {
        file "/etc/bind/master/zone.blackonsole.org";
        type master;
};

zone "1.168.192.in-addr.arpa" IN {
        type master;
        file "/etc/bind/master/rdns.blackonsole.org";
};

| setup file zone

# mkdir /etc/bind/master
# cd /ect/bind/master/
# vi zone.blackonsole.org
$TTL	86400
$ORIGIN blackonsole.org.
@			1D IN SOA	blackonsole.org. admin.blackonsole.org. (
					42		; serial
					3H		; refresh
					15M		; retry
					1W		; expiry
					1D )		; minimum

			1D IN NS	ns1.blackonsole.org.
			1D IN NS	ns2.blackonsole.org.
			1D IN A		192.168.1.11
			1D IN MX 10	mail.blackonsole.org.
ns1			1D IN A		192.168.1.11
ns2			ID IN A		192.168.1.11
www		1D IN A		192.168.1.11
mail			1D IN A		192.168.1.11

| setup file reverse

# vi rdns.blackonsole.org
$TTL	86400
@       IN      SOA     blackonsole.org. admin.blackonsole.org.  (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      ns1.blackonsole.org.
              IN      NS      ns2.blackonsole.org.
11       IN      PTR       mail.blackonsole.org.

|| restarting named

# /etc/init.d/bind9 restart

|| testing

# dig blackonsole.org @localhost

|| link
| google
| justinhartman

How to fix problem with the editor ‘vi’

:: git error with vi error: There was a problem with the editor 'vi'   :: how to fix the problem 0. check path...
Sysadmin.ID
10 sec read

Apache :: MP4 Streaming

:: How to Enable mp4 Streaming in Apache + Installing mod h624 streaming wget //h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz tar -xzf apache_mod_h264_streaming-2.2.7.tar.gz cd mod_h264_streaming-2.2.7/ ./configure --with-apxs=`which apxs2` make...
Sysadmin.ID
18 sec read

Apache :: Flash / FLV Streaming

:: How to Configure Apache for FLV Streaming + Installing mod_flvx wget //people.apache.org/~pquerna/modules/mod_flvx.c which apxs /usr/bin/apxs /usr/bin/apxs -cia mod_flvx.c + setup mod_flvx in http.conf...
Sysadmin.ID
15 sec read

Leave a Reply

Your email address will not be published. Required fields are marked *