Solved

DDNS configuration for ubuntu servr

Posted on 2012-03-21
7
400 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

Suggested Solutions

A Cisco router can be configured as a DHCP Server. There are advantages and disadvantages in making your Cisco router work as DHCP Server. Almost all the features for windows DHCP can be configured on Cisco-based DHCP server. Some of the features me…
I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now