Solved

how to configure dns slave

Posted on 2012-03-19
11
1,376 Views
Last Modified: 2012-03-24
Dear Experts:

We have ubuntu linux ddns server for network 192.168.1.0/24 now that would like to configure dns slave for the network 192.168.11.0/24.
MPLS VPN HUB and Spoke
ubuntu linux ddns server is hosted at HUB location which is configured for 192.168.1.0/24 network now the ISP have implemented spoke network as 192.168.11.0/24 and the same has been configured to MPLS router 1900 series intrun this is terminated to fortigate 300 firewall/router

1. I am looking for how to configure the slave dns at spoke for the network 192.168.11.0/24
2. How to configure the exsiting ubuntu ddns server which is presently configured for 192.168.1.0/24 for the slave dns of the spoke network 11.0/24

Please help.
0
Comment
Question by:D_wathi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 2
11 Comments
 
LVL 19

Accepted Solution

by:
Gabriel Orozco earned 250 total points
ID: 37740641
Hi D_wathi

Slave zones are for domain names, not for networks.

in bind, a slave zone is defined as follows:

// named.conf fragment
zone "example.com" in {
    type slave;
    file "slave.example.com";
    masters {192.168.2.7; 10.2.3.15 port 1127; 2001:db8:0:1::15;};
};

As you see, the slave define the ip address of the master DNS server, and in the Master you need to add
  slaves { ip.of.your.slave.dns.server};

That's it.
0
 
LVL 19

Expert Comment

by:Gabriel Orozco
ID: 37740643
One more thing, you can see examples here:
http://www.zytrax.com/books/dns/ch6/
0
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 37740828
Redimido is right.

Regards, Tobias
0
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 

Author Comment

by:D_wathi
ID: 37743810
Sir, Thank you very much , little more help please as per the below request

In the Hub location behind the firewall/router Ubuntu DDNS is serving as the master name sever for the network of   192.168.1.0/24 subnet, named configuration is attached for your reference.

1. HUB 192.168.1.0/24 and 192.168.1.244 as ddns server
With reference to the attached configuration please help me what additional statements or changes to be made for achieving the DNS slave as per the below different subnet at the spoke

2. spoke 192.168.11.0/24 subnet  and dns slave 192.168.11.100
Please tell me what all the statements required here at spoke I mean how the named.conf.local should be configured, i am little confused should point to the master server , please give me the statements .
namedconfig.txt
0
 

Author Comment

by:D_wathi
ID: 37751306
on the  named.conf  the statement is  masters {192.168.2.7; 10.2.3.15 port 1127; 2001:db8:0:1::15;};

I did not understand the   2001:db8:0:1::15; which is in masters above statement. Please help me.
0
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 37751611
masters {192.168.2.7; 10.2.3.15 port 1127; 2001:db8:0:1::15;};

This is a IPv6 address. You don't have to use a IPv6 address if you don't want to.

masters {192.168.2.7; 10.2.3.15 port 1127; 2001:db8:0:1::15;};

This is an example of specifying a port if a DNS server uses a non-standard port.

You could use this format (replace the IP with your master DNS):

masters {192.168.2.7;};

Regards, Tobias
0
 

Author Comment

by:D_wathi
ID: 37752011
Sir, Thanks , can you please tell me can will it be possible configure salve for different network  i,e 192.168.10. when the master is in the  192.168.1. network. Please help
0
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 37752215
Yes, it's no problem to have the slave in a different network, as long as you can reach it from your master server. You could use ping to verify that you can reach your slave DNS from your master DNS (if you have allowed ping in your network).

Regards, Tobias
0
 

Author Comment

by:D_wathi
ID: 37753521
Sir thank you very much, finally one last request, In the master server is it required to create a slave zones ( forward and reverse zone files), please suggest.
0
 
LVL 18

Assisted Solution

by:TobiasHolm
TobiasHolm earned 250 total points
ID: 37753690
You don't have to create a zone file for the slave on the master, but you have to allow transfers. Read more here: https://help.ubuntu.com/community/BIND9ServerHowto

"First, on the primary master server, the zone transfer needs to be allowed. Add the allow-transfer option to the sample Forward and Reverse zone definition in /etc/bind/named.conf.local:"

Regards, Tobias
0
 

Author Closing Comment

by:D_wathi
ID: 37760181
dns master and slave
0

Featured Post

Are You Headed to Black Hat USA 2017?

Getting ready for Black Hat next week? Kick things off with the WatchGuard Badge Challenge and test your puzzle and cipher skills. Do you have what it takes to earn our limited edition Firebox Badge? Get started today - https://crimsonthorn.net

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most DNS problems are VERY easily troubleshot and identifiable if you can follow the steps a DNS query takes. I would like to share the step-by-step a DNS query takes from the origin to the destination. _____________________________________________…
A Cisco router can be configured as a DHCP Server. There are advantages and disadvantages in making your Cisco router work as DHCP Server. Almost all the features for windows DHCP can be configured on Cisco-based DHCP server. Some of the features me…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question