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
Split DNS Implementation for RDM by Gopal Krishan
(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!
== Main Configuration == Edit the file /etc/named.conf as follows and make sure internal and external view are created which I have marded in red. vi /etc/named.conf <nowiki>###################################################################</nowiki> // named.conf for Red Hat caching-nameserver // acl loc {127.0.0.1/8; 10.10.1.0/21; 10.10.2.0/21; 10.10.3.0/21; }; options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; allow-query { loc;}; allow-recursion { loc;}; forwarders {202.56.240.5; 202.56.250.5; 4.2.2.2; }; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; }; // // a caching only nameserver config // controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; }; view "inside" { match-clients { loc; }; recursion yes; zone "." IN { type hint; file "named.root"; }; zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; }; zone "rdm.co.in" IN { type master; file "rdm.co.in.int.zone"; allow-update { none; }; allow-query { any; }; }; zone "rdmindia.com" IN { type master; file "rdmindia.com.int.zone"; allow-update { none; }; allow-query { any; }; }; zone "rdmfamily.in" IN { type master; file "rdmfamily.in.zone"; allow-update { none; }; allow-query { loc; }; }; zone "1.10.10.in-addr.arpa" IN { type master; file "rdmfamily.in.local"; allow-update { none; }; allow-query { loc; }; }; zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN { type master; file "named.ip6.local"; allow-update { none; }; }; zone "255.in-addr.arpa" IN { type master; file "named.broadcast"; allow-update { none; }; }; zone "0.in-addr.arpa" IN { type master; file "named.zero"; allow-update { none; }; }; }; view "outside" { match-clients { !loc; any; }; recursion no; zone "rdm.co.in" IN { type master; file "rdm.co.in.ext.zone"; allow-update { none; }; allow-query { any; }; }; zone "rdmindia.com" IN { type master; file "rdmindia.com.ext.zone"; allow-update { none; }; allow-query { any; }; }; zone "188.21.125.in-addr.arpa" IN { type master; file "rdm.co.in.local"; allow-update { none; }; allow-query { any; }; }; }; include "/etc/rndc.key"; Make entries in /var/named/chroot/var/named/.
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)