Solved

DDNS configuration for ubuntu servr

Posted on 2012-03-21
7
417 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
  • 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
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

This article is intended as an extension of a blog on Aging and Scavenging by the MS Enterprise Networking Team. In brief, Scavenging is used as follows: Each record in a zone which has been dynamically registered with an MS DNS Server will have…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 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