?
Solved

ddns on ubuntu server

Posted on 2011-10-01
8
Medium Priority
?
668 Views
Last Modified: 2012-05-12
Dear Experts:
Configured ddns on ubuntu server 10.4 the same is working fine, To install and configure i followed the http://www.debianadmin.com/howto-setup-dhcp-server-and-dynamic-dns-with-bind-in-debian.html, this configuraton created two sets of zone files one for static zones (forward and reverse)and other set for dyanamic (forward and reverse).
Have the below doubt please help
 few systems and servers requires static ip and the same to be always reserved or assigned to these systems and servers please note including gateway and name servers. Should i manually assign the ipaddress , gateway and dns entries for these systems and servers or will get the details from the dhcp when configured for dhcp ,  iam confused please help me how to handle this, request help on how to handle this.
0
Comment
Question by:D_wathi
  • 4
  • 4
8 Comments
 
LVL 21

Expert Comment

by:Papertrip
ID: 36898536
For servers I would definitely manually configure all of that -- you don't want your production servers relying on a DHCP server to be available and functioning in order to get their network config info.  Also the networking config for production servers should not be changing often, so there is very little gain in using DHCP for that.  Same thing goes for workstations that are stationary (as in they never leave the office).  You could use DHCP for those workstations, but personally I would just configure them manually.

Summary:
Servers -- configure manually.

Workstations -- I prefer configure manually, but reserving IP's through DHCP should be fine as well -- up to you.  Just remember that if the DHCP server goes down, and the workstation's lease expires during that downtime, that you will have to configure it manually anyways.

Laptops / mobile devices / etc -- use DHCP with Dynamic DNS normally and without reservations.

0
 

Author Comment

by:D_wathi
ID: 36898576
Thanks for the reply.

1. Sir, I will configure all the servers and work stations with manual ip address i think i shoud add the hostnames and ip address in the forward and reverse zones of the static zones, please suggest me is this correct.

2, for laptops point to the dhcp server

3, also i can find the file db.dyn.example.org.jnl under the db.dyn.example.org.jnl.
Please help with the above doubts. Thanks in advance.

0
 
LVL 21

Expert Comment

by:Papertrip
ID: 36898582
1. Sir, I will configure all the servers and work stations with manual ip address i think i shoud add the hostnames and ip address in the forward and reverse zones of the static zones, please suggest me is this correct.
Correct.
2, for laptops point to the dhcp server
Correct.
3, also i can find the file db.dyn.example.org.jnl under the db.dyn.example.org.jnl.
Is that a question? :p  FYI .jnl files are journal files, which are used when a DNS zone is dynamic.
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 

Author Comment

by:D_wathi
ID: 36898798
Thank you very much , very much sorry for one final doubt.

1. I was thinking if the hostnames mapping to the ip address and reverse dns details are present in the static zones then if we name the work station or desktops by pointing to the dhcp server, the exact ip address which is presnt in the static zones will be appiled to the newly named host(work station or desktop), please tell me should the ddns behave something like this or for this to happen should reserve the ip address for the particular mac in the dhcpd.conf

2. as per the document created the dynamic zones(forward and reverse zones unde /var/cache/bind) i was thinking the these dynamic zones will be written by the bind but instead new file got created , db.dyn.example.org.jnl (journal files) is it based on these dynamic zones this new journal got created.

Sir, iam sorry for these doubts please help iam eager to understand. Thanks in adavance
0
 
LVL 21

Accepted Solution

by:
Papertrip earned 2000 total points
ID: 36899027
1. I was thinking if the hostnames mapping to the ip address and reverse dns details are present in the static zones then if we name the work station or desktops by pointing to the dhcp server, the exact ip address which is presnt in the static zones will be appiled to the newly named host(work station or desktop), please tell me should the ddns behave something like this or for this to happen should reserve the ip address for the particular mac in the dhcpd.conf
For the servers and workstations that you will be adding into the static zones, you should remove dhcp from the flow entirely.  You should be configuring each host individually, in DNS and on the machine, and not using dhcp or ddns at all for them.
2. as per the document created the dynamic zones(forward and reverse zones unde /var/cache/bind) i was thinking the these dynamic zones will be written by the bind but instead new file got created , db.dyn.example.org.jnl (journal files) is it based on these dynamic zones this new journal got created.
http://www.bind9.net/manual/bind/9.3.1/Bv9ARM.ch04.html#dynamic_update

You can use 'named-journalprint db.dyn.example.org.jnl' to see the contents of the journal.

In BIND 9.9, which is still in alpha, there is a new command 'rndc sync' which will commit the journal to the zone file on disk.  The proper way to do that now is to rndc freeze / rndc thaw.

On a related note, I recommend converting all of your static zones to dynamic.
0
 

Author Comment

by:D_wathi
ID: 36899059
Sir, Thank you very much , great support. you have lastly stated converting all of the static zones to dynamic , may i know the reason and advantages please
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 36899065
If you want to know all about static vs dynamic zones, start a new question ;)
0
 

Author Closing Comment

by:D_wathi
ID: 36899080
very much proud to get this support
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Question has a verified solution.

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

This article explains how a domain name may be inadvertently appended to all DNS queries. This exhibits as described below. (CODE)And / Or: (CODE) Cause This issue can occur in either of these two scenarios. EITHER 1. A Primary DNS S…
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 video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

840 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