RE: Problem with script - Dynamic DNS program

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Tim Coffey (timcof_at_online.microsoft.com)
Date: 02/11/04


Date: Wed, 11 Feb 2004 04:43:03 GMT

No. This is normal behavior, and has been like this. The only thing I can possibly think of, is to see if there is a firmware update for the router that might allow
the 302 to work, or, try and write an ISAPI filter that would intercept the request and send back a 200. As far as the filter, I am not even sure if that is possible,
but if so, try the inetsdk folks. The should be able to give a code snippet if possible.

Thank you. I hope this information is helpful.

Tim Coffey [MSFT]

This posting is provided “AS IS” with no warranties, and confers no rights. You assume all risk for your use. © 2001 Microsoft Corporation. All rights reserved.
--------------------
| From: "Croco Stimpy" <none@none.com>
| Subject: Problem with script - Dynamic DNS program
| Date: Tue, 20 Jan 2004 08:26:21 -0500
| Lines: 34
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <OpRw$j13DHA.3436@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.inetserver.iis
| NNTP-Posting-Host: philt.cit.nih.gov 128.231.41.132
| Path: cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.inetserver.iis:291449
| X-Tomcat-NG: microsoft.public.inetserver.iis
|
| I wrote an ASP page to perform the same purpose as the dynamic dns services
| that are on the web.
| I want to use my dns servers with some of my remote sites - that's why I am
| doing this.
| (Some routers, like the D-Link, support dynamic DNS updates via http)
|
| The script is done and I tested it by manually submitting it. It works
| perfectly. I can update my DNS entries via http requests.
|
| The problem popped up when I went to put it in production.
| The routers send a GET request to
| www.MYDOMAIN.com\nic\update?myip=xx.xx.xx&myhost=myhost.mydomain.com
|
| The router is expecting a "200 OK" back, which is fine. Problem is, IIS is
| returning a 302.
| The reason is, the path \nic\update resolves to my ASP page which is
| \nic\update\default.asp. The default page.
|
| Since the D-Link router asks for \nic\update (which I have no control
| over), IIS returns a 302 (page moved) and then delivers the page
| (default.asp).
|
| Well, the router doesn't like that and treats it like an error. So nothing
| works.
| There is nothing wrong with the script, its just that return code from IIS.
|
| Is there ANYTHING I can do to force IIS to return 200 OK and the default.asp
| page?
| I was so close and now no cupcakes.
|
| Thanks in advance to anyone who reads this.
| P.S. Running IIS on Win2k server, active directory with DNS WMI helpers.
|
|
|



Relevant Pages

  • Re: Remote Desktop web connection does not work outside my local N
    ... The web based method, using IIS, still requires you to port forward the RDP protocol to each PC ... > screen opens with the external ip of my router on the title. ... But I cant connect to any other machine on my network even ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: IIS5 Passive FTP Networking problem (long)
    ... > Yes, it is within the port range, to calculate it. ... > Information About the IIS File Transmission Protocol (FTP) Service ... That leaves me only with the client side Microsoft Base Station router ...
    (microsoft.public.inetserver.iis.security)
  • Re: IP address
    ... > router then you would need to forward/open TCP Port 3389 to the private LAN ... > qualified domain name of the router. ... > dynamic IP address to a fully qualified domain name. ... > Additional dynamic dns information... ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Use of host headers fails after 4 hours
    ... the DSL router, all works fine, also the ASP ... So I thought this was a router problem. ... The problem is in the server itself. ... > If you think ASP is crashing/hanging, and you are getting no errors in IIS ...
    (microsoft.public.inetserver.iis)
  • Re: isc-dhcp & dyndns
    ... Seth Henry" wrote: ... > replaced my old Netgear router with the new machine. ... > except for dynamic DNS updates. ... > How is everyone else updating their dynamic DNS entries from a FreeBSD ...
    (freebsd-questions)