Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Zimbra Deployment for Shubham
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== '''<nowiki># Configure DNS Server </nowiki>''' == '''<nowiki>=====================================================================</nowiki>''' <nowiki>#yum install bind </nowiki> <nowiki>#vim /etc/named.conf </nowiki> [root@mail ~]# cat /etc/named.conf // // named.conf // // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS // server as a caching only nameserver (as a localhost DNS resolver only). // // See /usr/share/doc/bind*/sample/ for example named configuration files. // options { listen-on port 53 { 127.0.0.1; '''10.240.0.2;''' }; listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; allow-query { localhost; }; /* - If you are building an AUTHORITATIVE DNS server, do NOT enable recursion. - If you are building a RECURSIVE (caching) DNS server, you need to enable recursion. - If your recursive DNS server has a public IP address, you MUST enable access control to limit queries to your legitimate users. Failing to do so will cause your server to become part of large scale DNS amplification attacks. Implementing BCP38 within your network would greatly reduce such attack surface <nowiki>*/ </nowiki> recursion yes; dnssec-enable yes; dnssec-validation yes; dnssec-lookaside auto; /* Path to ISC DLV key */ bindkeys-file "/etc/named.iscdlv.key"; managed-keys-directory "/var/named/dynamic"; pid-file "/run/named/named.pid"; session-keyfile "/run/named/session.key"; }; logging { channel default_debug { file "data/named.run"; severity dynamic; }; }; zone "." IN { type hint; file "named.ca"; }; '''zone "shubham.co" IN { ''' '''type master; ''' '''file "shubham.for"; ''' '''allow-update { none; }; ''' '''}; ''' '''zone "0.240.10.in-addr.arpa" IN { ''' '''type master; ''' '''file "shubham.rev"; ''' '''allow-update { none; }; ''' '''}; ''' include "/etc/named.rfc1912.zones"; include "/etc/named.root.key"; '''[root@mail ~]# cd /var/named/''' '''[root@mail named]# cat shubham.for ''' '''$TTL 1D ''' '''@IN SOAmail.shubham.co. root.shubham.co. ( ''' '''20150930<nowiki>; serial </nowiki>''' '''1D<nowiki>; refresh </nowiki>''' '''1H<nowiki>; retry </nowiki>''' '''1W<nowiki>; expire </nowiki>''' '''3H )<nowiki>; minimum </nowiki>''' '''INNSmail.shubham.co. ''' '''INMX 10mail.shubham.co. ''' '''mailINA10.240.0.2 ''' '''shubham.coINA10.240.0.2 ''' '''[root@mail named]# cat shubham.rev ''' '''$TTL 1D ''' '''@IN SOAmail.shubham.co. root.shubham.co. ( ''' '''20150930<nowiki>; serial </nowiki>''' '''1D<nowiki>; refresh </nowiki>''' '''1H<nowiki>; retry </nowiki>''' '''1W<nowiki>; expire </nowiki>''' '''3H )<nowiki>; minimum </nowiki>''' '''INNSmail.shubham.co. ''' '''INMX 10mail.shubham.co. ''' '''mailINA10.240.0.2 ''' '''shubham.coINA10.240.0.2 ''' '''2INPTRmail.shubham.co. ''' '''2INPTRmail. ''' '''<nowiki>#named-checkzone shubham.co shubham.for </nowiki>''' '''<nowiki>#named-checkzone shubham.co shubham.rev </nowiki>''' '''<nowiki>#systemctl enable named</nowiki>''' '''<nowiki>#systemctl restart named</nowiki>''' <nowiki>================================================== ==================</nowiki>
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)