ChangeIP.com Forums

A User-to-User Dynamic DNS Forum
* Grand Reopening! *
Grand Reopening!
It is currently 21 Nov 2008 08:17

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: updating a url?
PostPosted: 02 Dec 2003 18:17 
Junior Member

Joined: 02 Dec 2003 18:14
Posts: 2
Hello empty forum,

Question for anyone here. How do I update a DNS field with a URL redirect?

I tried this on a unix command line:

echo "GET /update.asp?u=$1&p=$2&hostname=www.seiende.com&myip=$3" | openssl s_client -quiet -connect http://www.changeip.com:443 &/var/log/dns/updatedns

Nothing seems to update however. The third parameter (new URL) would be something like "1.1.1.1:81".


Top
 Profile E-mail  
 
 Post subject:
PostPosted: 03 Dec 2003 11:22 
High Jeffe

Joined: 25 Feb 2002 05:23
Posts: 151
Location: San Diego, CA
Hello,

The update system will only update A and CNAME records, not URLs. There is another way to accomplish what you are doing though, see here:

Create the following structure: (or name it however you like)

ip.4mydomain.com points to 24.1.2.3 (A)
http://www.4mydomain.com points to 'ip.4mydomain.com:81' (URL)
root of 4mydomain.com points to 'ip.4mydomain.com:81' (URL)

Now all you have to do is dynamically update the IP.4MYDOMAIN.COM hostname with your correct IP, and the other hostnames follow along. Also, if you use FTP, SSH, etc, then use the IP hostname instead of www or the root record, otherwise connections will hit our redirect server.

Sam


Top
 Profile  
 
 Post subject: thanks
PostPosted: 03 Dec 2003 12:43 
Junior Member

Joined: 02 Dec 2003 18:14
Posts: 2
I didn't do exactly as your example but all I did was change "www.mydomain.com" to have a value of "mydomain:81". Works great. I needed this since my new ISP filters port 80. Thanks!


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2008 phpBB Group

We use phpbb-seo to help us!