{"id":618,"date":"1997-09-09T01:36:29","date_gmt":"1997-09-09T09:36:29","guid":{"rendered":"http:\/\/www.birdhouse.org\/betips\/?p=618"},"modified":"1997-09-09T01:36:29","modified_gmt":"1997-09-09T09:36:29","slug":"dynamic-dns-with-dyndnsorg","status":"publish","type":"post","link":"https:\/\/www.betips.net\/?p=618","title":{"rendered":"Dynamic DNS with dyndns.org"},"content":{"rendered":"<p>If you&#8217;re not familiar with dynamic DNS addressing, a dynamic DNS service lets someone who doesn&#8217;t have a static IP address (DSL\/Cable\/Dialup) to have a static DNS entry so they can run web servers, etc. The most common way of doing this is to run a client that will look up your IP address at specified intervals and see if it matches the database of the DNS server you&#8217;re using. If not, it simply updates the database.<br \/>\nThe problem is that there is no native BeOS client for dynamic DNS updates. I&#8217;ve found tons of C clients but they all relied on arpa\/inet.h which I don&#8217;t have. Some were even written in Perl, but Perl for BeOS doesn&#8217;t support sockets. So after I had all but given up hope I ran across a client that used Python. Only one problem &#8212; it didn&#8217;t work and the error message was as vague as can be, &#8222;Error updating&#8230;&#8220; So I delved into www.python.org to see what I could do. I later find out that the error is that the script is not reporting what kind of agent it is (basically, &#8222;Who are you?&#8220;). I found the answer by looking at the source of one of the C clients. As it turns out the problem was a misplaced &#8220; &#8222;. Here&#8217;s how to get this working on your own:<\/p>\n<ol>\n<li> Download and install <a href=\"http:\/\/www.bebits.com\/app\/606\">Python<\/a>.\n<li> Download the <a href=\"http:\/\/www.vex.net\/parnassus\/apyllo2.py\/D632080673\">DNS module<\/a>. Extract it to a temporary location. Then take the DNS folder (not its contents, the WHOLE folder) and drop it in <code>\/boot\/home\/config\/lib\/python1.5<\/code>.\n<li> Download <a href=\"http:\/\/www.michigannet.com\/~rbb\/ddupdate\/ddupdate-1.6.tar.gz\">DDUpdate1.6 <\/a> . Edit the script and make the first line read:\n<pre>#!\/boot\/home\/config\/bin\/python<\/pre>\n<p>Go to line #136 and change it from:<\/p>\n<pre>request = request + ' ' <\/pre>\n<p> to: <\/p>\n<pre>request = request + <\/pre>\n<\/ol>\n<p> Make sure the permissions for the file is executable. Take the modified script and drop it in <code>\/boot\/home\/config\/bin<\/code>.<br \/>\nRead the instructions. There&#8217;s a file you can create in <code>\/boot\/home <\/code> called <code>.ddupdaterc<\/code> in which you can put your info in so you can just call ddupdate instead of typing out the whole command line every time.<br \/>\nKeep in mind this only works with dyndns.org.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re not familiar with dynamic DNS addressing, a dynamic DNS service lets someone who doesn&#8217;t have a static IP address (DSL\/Cable\/Dialup) to have a static DNS entry so they can run web servers, etc. The most common way of doing this is to run a client that will look up your IP address at [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[9],"class_list":["post-618","post","type-post","status-publish","format-standard","hentry","tag-networking"],"_links":{"self":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=618"}],"version-history":[{"count":0,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/618\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}