<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.5" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: ARD Update DNS Script</title>
	<link>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/</link>
	<description>Tomos Hillman's mind-dump.</description>
	<pubDate>Mon, 06 Feb 2012 10:18:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.5</generator>

	<item>
		<title>by: yamahito</title>
		<link>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-135816</link>
		<pubDate>Fri, 14 Oct 2011 12:33:18 +0000</pubDate>
		<guid>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-135816</guid>
					<description>Wow, a genuine comment not from a spam bot!

I was thinking of taking down this blog; perhaps if some of this stuff is actually still useful I should at least keep an archive up here...

I'm glad this came in handy, Zev.</description>
		<content:encoded><![CDATA[<p>Wow, a genuine comment not from a spam bot!</p>
<p>I was thinking of taking down this blog; perhaps if some of this stuff is actually still useful I should at least keep an archive up here&#8230;</p>
<p>I&#8217;m glad this came in handy, Zev.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Zev Eisenberg</title>
		<link>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-135755</link>
		<pubDate>Thu, 13 Oct 2011 15:01:59 +0000</pubDate>
		<guid>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-135755</guid>
					<description>Thank you! This solves a problem that I encounter a few times a day at work. I have a computer at home that I have set to connect to our VPN when it reboots. However, it gets a different IP each time. I'm using DynDNS to broadcast the VPN's IP address (it's a 10.x.x.x subnet IP), but ARD doesn't pick up the change automatically. This fixes it perfectly.</description>
		<content:encoded><![CDATA[<p>Thank you! This solves a problem that I encounter a few times a day at work. I have a computer at home that I have set to connect to our VPN when it reboots. However, it gets a different IP each time. I&#8217;m using DynDNS to broadcast the VPN&#8217;s IP address (it&#8217;s a 10.x.x.x subnet IP), but ARD doesn&#8217;t pick up the change automatically. This fixes it perfectly.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jared Amodt</title>
		<link>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-134849</link>
		<pubDate>Mon, 03 Oct 2011 19:20:15 +0000</pubDate>
		<guid>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-134849</guid>
					<description>hey, I ran across this site from lycos and look at many of your various other posts. They are cool. Pleasee keep it up!!! Take care,</description>
		<content:encoded><![CDATA[<p>hey, I ran across this site from lycos and look at many of your various other posts. They are cool. Pleasee keep it up!!! Take care,
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: rentacarkosova</title>
		<link>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-132125</link>
		<pubDate>Mon, 05 Sep 2011 07:54:06 +0000</pubDate>
		<guid>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-132125</guid>
					<description>Basically to follow up on the update of this issue on your site and would like to let you know just how much I valued the time you took to put together this handy post. Inside the post, you spoke of how to truly handle this thing with all ease. It would be my personal pleasure to accumulate some more thoughts from your web page and come up to offer others what I discovered from you. Many thanks for your usual excellent effort.</description>
		<content:encoded><![CDATA[<p>Basically to follow up on the update of this issue on your site and would like to let you know just how much I valued the time you took to put together this handy post. Inside the post, you spoke of how to truly handle this thing with all ease. It would be my personal pleasure to accumulate some more thoughts from your web page and come up to offer others what I discovered from you. Many thanks for your usual excellent effort.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: yamahito</title>
		<link>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-117898</link>
		<pubDate>Thu, 03 Mar 2011 17:35:09 +0000</pubDate>
		<guid>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-117898</guid>
					<description>Evidently not :)</description>
		<content:encoded><![CDATA[<p>Evidently not <img src='http://yamahito.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: 偷情</title>
		<link>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-117896</link>
		<pubDate>Thu, 03 Mar 2011 16:37:33 +0000</pubDate>
		<guid>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-117896</guid>
					<description>Its great that you Shed light on a few things I didn’t understand. Thank you , hope you can keep writing blog?2</description>
		<content:encoded><![CDATA[<p>Its great that you Shed light on a few things I didn’t understand. Thank you , hope you can keep writing blog?2
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: yamahito</title>
		<link>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-295</link>
		<pubDate>Fri, 04 May 2007 12:11:20 +0000</pubDate>
		<guid>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-295</guid>
					<description>Hm, it looks to me like that's a private address range (which is why the server can't find any DNS entries for your machines).

As SilentBob says, the script will only ever be as good as the value the command "host [username]" returns.  It's only a quick and dirty fix, though, so I think any error checking isn't really worth the time it'll take to put it in: you know when something goes wrong, and that's good enough for me.

You'll need to speak to your network manager to sort out whether or not your machines need/can have DNS names.</description>
		<content:encoded><![CDATA[<p>Hm, it looks to me like that&#8217;s a private address range (which is why the server can&#8217;t find any DNS entries for your machines).</p>
<p>As SilentBob says, the script will only ever be as good as the value the command &#8220;host [username]&#8221; returns.  It&#8217;s only a quick and dirty fix, though, so I think any error checking isn&#8217;t really worth the time it&#8217;ll take to put it in: you know when something goes wrong, and that&#8217;s good enough for me.</p>
<p>You&#8217;ll need to speak to your network manager to sort out whether or not your machines need/can have DNS names.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: SilentBob</title>
		<link>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-294</link>
		<pubDate>Fri, 04 May 2007 10:56:14 +0000</pubDate>
		<guid>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-294</guid>
					<description>It appears that the script always expects a valid response, but if the reverse DNS lookup doesn't resolve to a hostname it comes back with an error message, and the DNS name is updated to the 6th word (as the script uses cut with a delimiter of a space), which will presumably be the same for every host that doesn't resolve.

Some error catching should be added to the script, such as checking that the response doesn't contain the string (or words) "server can’t find" so that it only updates the entry if it's valid.

It might not look pretty, but I don't think it breaks anything.</description>
		<content:encoded><![CDATA[<p>It appears that the script always expects a valid response, but if the reverse DNS lookup doesn&#8217;t resolve to a hostname it comes back with an error message, and the DNS name is updated to the 6th word (as the script uses cut with a delimiter of a space), which will presumably be the same for every host that doesn&#8217;t resolve.</p>
<p>Some error catching should be added to the script, such as checking that the response doesn&#8217;t contain the string (or words) &#8220;server can’t find&#8221; so that it only updates the entry if it&#8217;s valid.</p>
<p>It might not look pretty, but I don&#8217;t think it breaks anything.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: carlo</title>
		<link>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-293</link>
		<pubDate>Fri, 04 May 2007 10:27:42 +0000</pubDate>
		<guid>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-293</guid>
					<description>Hi this is the nslookup of the IP

Carlo:~ carlo$ nslookup 10.70.65.50
Server:         10.70.64.90
Address:        10.70.64.90#53

** server can't find 50.65.70.10.in-addr.arpa: NXDOMAIN

Many thanks!
Ciao</description>
		<content:encoded><![CDATA[<p>Hi this is the nslookup of the IP</p>
<p>Carlo:~ carlo$ nslookup 10.70.65.50<br />
Server:         10.70.64.90<br />
Address:        10.70.64.90#53</p>
<p>** server can&#8217;t find 50.65.70.10.in-addr.arpa: NXDOMAIN</p>
<p>Many thanks!<br />
Ciao
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: yamahito</title>
		<link>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-292</link>
		<pubDate>Fri, 04 May 2007 09:26:58 +0000</pubDate>
		<guid>http://yamahito.net/blog/2007/03/13/ard-update-dns-script/#comment-292</guid>
					<description>Hi Carlo:

How does the domain that ARD shows compare with what you get when you do a reverse DNS lookup on the IP address?</description>
		<content:encoded><![CDATA[<p>Hi Carlo:</p>
<p>How does the domain that ARD shows compare with what you get when you do a reverse DNS lookup on the IP address?
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

