Solved

DDNS configuration for ubuntu servr

Posted on 2012-03-21
7
428 Views
Last Modified: 2012-08-13
Dear Experts:

Have configured Ubuntu server as DDNS server attached dns static , dhcp config and dhcplog, for your reference . Even after assigning IP address manually as per the static zone to the desktop/workstation still the DHCP request from the same desktop/workstation to the DDNS server and also ddns server releasing the IP for these request has been observed,

For the host manjula  assigned ip as below
manjula                 A       192.168.1.81

Still the same host is requesting for IP to the DDNS server and further IP from the DDNS server is also released for this host. Please help to resolve this.

Thanks in advance.
dhcpconfig.txt
dhcplog.txt
dns-staticzone.txt
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
  • 4
  • 3
7 Comments
 
LVL 21

Expert Comment

by:Papertrip
ID: 37748129
Hey D,

I don't see manjula listed in your dhcpd.conf and 192.168.1.81 is not in your DHCP subnet range, so I'm not sure what the issue is here.

Why not just configure manjula to have a static IP and not try for a DHCP lease?
0
 

Author Comment

by:D_wathi
ID: 37760178
Sir, most of the workstations/desktops even though assigined IP manually still i can see the /var/log/messages those workstation/desktop are still assigned IP from the DHCP. this is putting me in trouble . please suggest me how do i address and resolve this. Please help.
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 37764336
...most of the workstations/desktops even though assigined IP manually...
What exactly do you mean by a manually assigned IP?  Do you mean you have an A record in DNS for each workstation, or do you mean that you manually configured all of the network information on each workstation (IP/netmask/gateway/etc)... or both?

Please provide more information.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:D_wathi
ID: 37767090
Hi sir,

I have  A and PTR record for each workstation in DNS  and the same have been manually assigned to the workstations but again these workstations are querying the DHCP server and also the IP (different than the DNS been released ).

--------------

DNS database zone file

cat db.shriramdb.com
$ORIGIN .
$TTL 604800     ; 1 week
shriramdb.com           IN SOA  lampsrv.shriramdb.com. root.shriramdb.com. (
                                110        ; serial
                                604800     ; refresh (1 week)
                                86400      ; retry (1 day)
                                2419200    ; expire (4 weeks)
                                604800     ; minimum (1 week)
                                )
                        NS      lampsrv.shriramdb.com.
$TTL 86400      ; 1 day
                        MX      10 ldap.shriramdb.com.
$ORIGIN shriramdb.com.
$TTL 38400      ; 10 hours 40 minutes
ciscospl                A       192.168.1.86
$TTL 600        ; 10 minutes
crm                     CNAME   lampsrv
$TTL 38400      ; 10 hours 40 minutes
daffodils               A       192.168.1.250
darshan                 A       192.168.1.58
gallery3                A       192.168.1.242
isrv                    A       192.168.1.249
james                   A       192.168.1.36

------------------------------------------------
/var/log/messages:
Mar 26 19:46:56 lampsrv dhcpd: DHCPREQUEST for 192.168.1.120 from 00:19:d1:1e:dd:83 (james) via eth0
Mar 26 19:46:56 lampsrv dhcpd: DHCPACK on 192.168.1.120 to 00:19:d1:1e:dd:83 (james) via eth0
Mar 26 19:51:56 lampsrv dhcpd: DHCPREQUEST for 192.168.1.120 from 00:19:d1:1e:dd:83 (james) via eth0
Mar 26 19:51:56 lampsrv dhcpd: DHCPACK on 192.168.1.120 to 00:19:d1:1e:dd:83 (james) via eth0
Mar 26 19:56:56 lampsrv dhcpd: DHCPREQUEST for 192.168.1.120 from 00:19:d1:1e:dd:83 (james) via eth0
Mar 26 19:56:56 lampsrv dhcpd: DHCPACK on 192.168.1.120 to 00:19:d1:1e:dd:83 (james) via eth0
Mar 26 20:01:56 lampsrv dhcpd: DHCPREQUEST for 192.168.1.120 from 00:19:d1:1e:dd:83 (james) via eth0
Mar 26 20:01:56 lampsrv dhcpd: DHCPACK on 192.168.1.120 to 00:19:d1:1e:dd:83 (james) via eth0
Mar 26 20:06:56 lampsrv dhcpd: DHCPREQUEST for 192.168.1.120 from 00:19:d1:1e:dd:83 (james) via eth0
Mar 26 20:06:56 lampsrv dhcpd: DHCPACK on 192.168.1.120 to 00:19:d1:1e:dd:83 (james) via eth0
Mar 26 20:11:57 lampsrv dhcpd: DHCPREQUEST for 192.168.1.120 from 00:19:d1:1e:dd:83 (james) via eth0
Mar 26 20:11:57 lampsrv dhcpd: DHCPACK on 192.168.1.120 to 00:19:d1:1e:dd:83 (james) via eth0
Mar 26 20:16:57 lampsrv dhcpd: DHCPREQUEST for 192.168.1.120 from 00:19:d1:1e:dd:83 (james) via eth0
Mar 26 20:16:57 lampsrv dhcpd: DHCPACK on 192.168.1.120 to 00:19:d1:1e:dd:83 (james) via eth0

---------------------------------------------
attached dhcpd.conf for your refernce.

Please help.
dhcpdconfig.txt
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 37767138
Looks like your workstations are still set to use DHCP.
0
 

Author Comment

by:D_wathi
ID: 37767164
missed to highlight few points on the previous post

In the DNS  have assigned
  james                   A       192.168.1.36

According to the DNS have assigned IP , subnet , GW and DNS to the workstation manually but please see the var/log/messages here IP 120 is getting assigend for the same host. Please help me to resolve this. Thanks in advance.
0
 
LVL 21

Accepted Solution

by:
Papertrip earned 500 total points
ID: 37767205
Check the network config on the workstation, it appears to still be set to DHCP.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

688 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