Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to configure dns slave

Posted on 2012-03-19
11
Medium Priority
?
1,382 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 1000 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
Introducing the WatchGuard 420 Access Point

WatchGuard's newest access point includes an 802.11ac Wave 2 chipset, providing the fastest speeds for VoIP, video and music streaming, and large data file transfers. Additionally, enjoy the benefits of strong security as the 3rd radio delivers dedicated WIPS protection!

 

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 1000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
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…

722 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