Solved

DDNS configuration for ubuntu servr

Posted on 2012-03-21
7
412 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
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.

 

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!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

831 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