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…

Facing a Git error with the 'vi' editor? Discover how to easily fix it by checking your Vim path and configuring Git to use...
Sysadmin.ID
10 sec read

Apache :: MP4 Streaming

Learn how to enable MP4 streaming in Apache with the installation of the mod_h264 streaming module, making your video content accessible and efficient. Follow...
Sysadmin.ID
18 sec read

Apache :: Flash / FLV…

Learn how to effortlessly configure Apache for FLV streaming by installing the mod_flvx module and updating your httpd.conf file. Discover the simple steps to...
Sysadmin.ID
15 sec read

Leave a Reply

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