Date: 2005-12-20 06:48:00
Tags: web
dns loc with ajax

I've always used the LOC to Maps web page to check to see whether my DNS LOC records work properly. I decided to try to rewrite this application using modern web technologies to see how well it would work.

The result is my DNS LOC lookup page. This page is all done with Javascript and XML-RPC and Google Maps with a Python XML-RPC back-end.

Some names to try might be:

Let me know whether it works for you and if you find any problems!

[info]shaevel
2005-12-20T15:39:13Z
A brief flash says "loading", then it says "Interrupted" for anything I enter.
[info]ghewgill
2005-12-20T15:41:46Z
What browser and platform are you using?
[info]qeeeperz
2005-12-20T16:21:06Z
A brief flash says "loading", then it says "Interrupted" for anything I enter. Firefox 1.5, Windows
[info]qeeeperz
2005-12-20T16:22:51Z
On IE7 beta1, it says "Loading", then "slashdot.org: dns.resolver.NoAnswer: "
[info]qeeeperz
2005-12-20T16:25:03Z
Firefox 1.0.7, "Loading...", then "google.com: dns.resolver.NoAnswer:"
[info]equiraptor
2005-12-20T16:36:28Z
Try using slacker.com. That should actually give you a location. Apparently, slashdot and google don't publish LOC (not everyone does).
[info]hoyhoy
2005-12-20T16:30:58Z
"Interrupted" on Safari on Mac OS X Tiger
[info]ghewgill
2005-12-23T06:09:03Z
If you could, try http://hewgill.com/tools/dnsloc.html again with say, yahoo.com. I think I've fixed the "Interrupted" problem.
[info]hoyhoy
2005-12-20T16:32:29Z
"Interrupted" on Firefox 1.5 on Mac OS X Tiger 10.4.3
(anonymous)
2005-12-20T16:38:50Z
"Interrupted" on Camino 1.0a1 on Mac OS X 10.4.3
[info]equiraptor
2005-12-20T16:34:42Z
It worked for me with Firefox 1.0.7, on Windows XP and Linux.

Safari 2.0.2 and Firefox 1.5 both gave me the interrupted behavior or Mac. Opera 8.5 on Mac stuck at the loading page for as long as I would leave it - it never gave me interrupted, nor did it give me the actual information.

IE6 on Windows XP worked.
[info]ghewgill
2005-12-23T06:08:49Z
If you could, try http://hewgill.com/tools/dnsloc.html again with say, yahoo.com. I think I've fixed the "Interrupted" problem.
[info]shaevel
2005-12-20T16:24:45Z
Firefox...Windows XP
[info]ghewgill
2005-12-23T06:07:54Z
If you could, try http://hewgill.com/tools/dnsloc.html again with say, yahoo.com. I think I've fixed the "Interrupted" problem.
[info]dbaker
2005-12-20T17:41:01Z
Interrupted
[info]ghewgill
2005-12-23T06:08:13Z
If you could, try http://hewgill.com/tools/dnsloc.html again with say, yahoo.com. I think I've fixed the "Interrupted" problem.
[info]paradox0220
2005-12-20T17:53:05Z
Interrupted. Firefox 1.5.
[info]ghewgill
2005-12-23T06:08:21Z
If you could, try http://hewgill.com/tools/dnsloc.html again with say, yahoo.com. I think I've fixed the "Interrupted" problem.
[info]_fool
2005-12-20T18:35:19Z
and i just get loading forever in opera 8.5/lin
[info]ghewgill
2005-12-23T06:08:30Z
If you could, try http://hewgill.com/tools/dnsloc.html again with say, yahoo.com. I think I've fixed the problem.
[info]taral
2005-12-20T21:43:05Z
% cat z
            
POST /services/dnsloc.py HTTP/1.0
Host: hewgill.com
Content-Type: text/xml


getDnsLoc



hewgill.net




% nc -v hewgill.com 80 < z
DNS fwd/rev mismatch: hewgill.com != occam.hewgill.net
hewgill.com [69.41.174.196] 80 (www) open
HTTP/1.1 500 Internal Server Error
Date: Tue, 20 Dec 2005 21:42:13 GMT
Server: Apache/2.0.53 (Unix) PHP/4.3.10
Content-Length: 622
Connection: close
Content-Type: text/html; charset=iso-8859-1

...
[info]ghewgill
2005-12-23T06:09:25Z
If you could, try http://hewgill.com/tools/dnsloc.html again with say, yahoo.com. I think I've fixed the "Interrupted" problem.
[info]taral
2005-12-23T07:54:18Z
Works perfectly with taral.net.
(anonymous) : is this source open source?!
2008-06-22T12:44:33Z
is your working source published?! i would like to deploy it on my web server.
Greg Hewgill <greg@hewgill.com>