miercuri, 17 august 2016

PERFECT LITTLE HOME SERVER [Raspberry Pi 3] PART 3 - BIND DNS Server

http://bit.do/cfRhF Secret discount for Wing FTP Soft
► This video explains how to install BIND on Raspberry Pi running Raspbian Linux. This is the 3rd video from the series, previous videos: - PART 2: https://goo.gl/gJXgX0 - PART 1: https://goo.gl/tFoiWo ► Follow me on: • Twitter: https://twitter.com/salkohd • Google PLUS: https://goo.gl/OZQPwN • Facebook: https://www.facebook.com/salkohd ► Commands used in video: apt-get install bind9 dnsutils db.10.69.69 file: ---------------------------------------------------------- ; ; BIND reverse data file for 69.69.10.in-addr.arpa ; $TTL 604800 69.69.10.in-addr.arpa. IN SOA ns1.salkohd.com. admin.salkohd.com. ( 1 ; Serial 3h ; Refresh after 3 hours 1h ; Retry after 1 hour 1w ; Expire after 1 week 1h ) ; Negative caching TTL of 1 day ; 69.69.10.in-addr.arpa. IN NS ns1.salkohd.com. 62.69.69.10.in-addr.arpa. IN PTR salkohd.com. ---------------------------------------------------------- db.salkohd.com file: ---------------------------------------------------------- ; BIND data file for salkohd.com $ORIGIN salkohd.com. $TTL 3h @ IN SOA ns1.salkohd.com. mail.salkohd.com. ( 2016081401 ; Serial (usually YYYYMMDDSS): increment after any change 8H ; Refresh (8 hours) 2H ; Retry (2 hours) 4W ; Expire (4 weeks) 3H ) ; NX (3 hours) TTL Negativ Cache @ IN NS ns1.salkohd.com. IN MX 10 mail.salkohd.com. IN A 10.69.69.62 ns1 IN A 10.69.69.62 optimusprime IN A 10.69.69.69 mail IN A 10.69.69.2 www IN CNAME salkohd.com. ftp IN CNAME salkohd.com. ---------------------------------------------------------- named.conf.local file: ---------------------------------------------------------- zone "salkohd.com" { type master; file "/etc/bind/zones/master/db.salkohd.com"; }; zone "69.69.10.in-addr.arpa" { type master; file "/etc/bind/zones/master/db.10.69.69"; }; ---------------------------------------------------------- named.conf.options file: ---------------------------------------------------------- options { directory "/var/cache/bind"; forwarders { 8.8.8.8; 8.8.4.4; }; dnssec-validation auto; auth-nxdomain no; listen-on-v6 { none; }; allow-query-cache {10.69.69/24;}; }; ---------------------------------------------------------- ► MUSIC: Intro Music by Maxwell Young - Just like a Child https://soundcloud.com/maxwell_young/just-like-a-child Outro Music by Marley & Speo NCS (No Copyright Sounds) https://www.youtube.com/watch?v=AUEdtwct0ac Follow Speo: http://soundcloud.com/speomusic http://facebook.com/speomusic http://twitter.com/speomusic Follow Morley: https://soundcloud.com/romely https://www.youtube.com/user/TheMorleyMusic ► Subscribe for more videos like this!

Niciun comentariu:

Trimiteți un comentariu