Solved

DDNS configuration for ubuntu servr

Posted on 2012-03-21
7
423 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
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 

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

Technology Partners: 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

Suggested Solutions

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…
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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