LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 01-05-2005, 05:54 AM   #1
javabb
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Rep: Reputation: 0
Lightbulb Problem in update The DNS Server Record Dynamically


Sir,

Currently I am using your updatedd code for updating DDNS server records. I have downloaded this source code from this updatedd.philipp-benner.de/ site.

I have to update DNS server record. For this purpose, I have configured my system PC as DNS Server (BIND 9.3.0).
In order to configure my system as the DNS Server, I have included records in a zone file for example ashish.com.zone which contains records as given below:

Star „³193.167.100.232
(hostname of other PC)-> (corresponding IP address of that machine)

I have to update this IP address 193.167.100.232 to 212 in the zone file using your code.
Your code ¡§dyndns.h¡¨ contains
#define DYNDNSHOST members.dyndns.org

I believe this represents the name to which the IP address is to be sent for updation. Hence I redefined this as
#define DYNDNSHOST ashish.com

where ashish.com is the domain name of my Server system. When I run your code I am receiving the error ¡§dyndns.org: Internal Server Error¡¨. I believe this is because BIND does not send any HTTP responses.

So when the DYNDNSHOST is defined as members.dyndns.org, is members.dyndns.org acting as the server or it acts as an intermediate proxy which receives the HTTP request sent by the updated code, sends appropriate request to some server on the net to change the IP address, forms an appropriate response based on the change made by the DNS server and then sends that response to the updatedd code?

Sir, I have some confusion¡K
Q.1 Does this code update the DDNS server records or
Once I run updated, it calls the services like dyndns in my system, which finds the current IP address, connects to dyndns.org site and sends this IP address to the dyndns.org which then updates some DNS Server on the net?
What exactly does your code do?

Q.2 Can I update the DNS server record in my system, without taking the help of dyndns.org? I find that throughout the code references are made (hardcoded) to dyndns.org. So is this code entirely dependant on dyndns.org?

Kindly help me to solve the problem of DDNS Server.

Thanks and Regards,
Ashish
 
Old 01-05-2005, 03:58 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

The original is here:
http://www.linuxquestions.org/questi...73#post1389573
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Update The DNS Server Record Dynamicaly javabb Linux - Software 1 01-05-2005 03:59 PM
Problem in Update The DNS Server Record Dynamicaly javabb Linux - Networking 0 01-05-2005 05:49 AM
How DNS can be configured , to update records dynamically; when using DHCPd?????????? mwj Linux - Software 3 03-20-2004 12:01 PM
How do I dynamically register RH9 in W2K DNS narshadda Linux - Networking 2 10-31-2003 02:53 PM
getting bind to update dynamically acid_kewpie Linux - Networking 1 11-23-2002 06:28 PM


All times are GMT -5. The time now is 10:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration