ChangeIP.com Forum Index ChangeIP.com
Dynamic DNS Forums
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

updating a url?

 
Post new topic   Reply to topic    ChangeIP.com Forum Index -> Update Clients
Author Message
shrubberey
Junior Member


Joined: 02 Dec 2003
Posts: 2

PostPosted: 12-02-2003 06:17 PM    Post subject: updating a url? Reply with quote

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 [url]www.changeip.com:443[/url] &/var/log/dns/updatedns

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


Joined: 25 Feb 2002
Posts: 607
Location: San Diego, CA

PostPosted: 12-03-2003 11:22 AM    Post subject: Reply with quote

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)
[url]www.4mydomain.com[/url] 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
Back to top
shrubberey
Junior Member


Joined: 02 Dec 2003
Posts: 2

PostPosted: 12-03-2003 12:43 PM    Post subject: thanks Reply with quote

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!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    ChangeIP.com Forum Index -> Update Clients All times are GMT - 8 Hours
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group