Home > DNS > DNS Forwarding??

DNS Forwarding??



Hi all i was just wondering, i recently read the guide "bet you want to setup a DNS server huh?" and I must say it was amazing, thank you Silent for writing it. However onto my issue.



I am hosting a site on a server out of my house, the problem is that my isp is kind enough to block port 80 and 25 and 110 etc... all the good stuff (not port 53 though SHHH don't tell them ) anyway i was wondering my registrar is mydomain.com and they offer a forwarding service that allows me to specify that *.domain.com goes to http://server1.domain.com:81/ (81 being the port i listen on becuase 80 is blocked) however i had some issues with mail services so i want to host my own dns. my question is, within the dns service is there anyway to have it resolve like the forwarding service does?? i thought about using a PTR but in the article you state it should only be used in reverse zones. I am sorry if this doesn't make sense its like 3 am .



Thanks for any advice you can offer.



P.S. you have worked with mydomain.com before if i remember reading somewhere, do you know how long it usually takes for the domain servers to switch from ns*.mydomain.com to the ones i provided? Thanks again.

    
Guest


In my experience (yes, I use MyDomain heavily), name server changes for .COM/.NET domains occur within 1 minute at MyDomain. This goes for most good registration providers since Sept 9th, 2004.



No, there is no way to tell browsers what the default port is for a given domain in DNS. The way that URL forwarding works is the webserver pointed to by the domain tells the browser that it should connect to a different domain on a different port, which points to your webserver. URL masking is another common service where the forwarding webserver will return a FRAMESET with only one frame. This frame loads the page from the second domain (or IP) on the custom port. This way the original domain stays in the address bar.

Was this answer helpful ? Yes No   
Guest


Thanks for the response, and hmm.. that kinda sucks that you can't do forwarding that way, and mydomain can't do forwarding without using their nameservers!! =( hmm the only other solution is to have people type in the port number after my domain correct?...



Well thanks again for the help =)

Was this answer helpful ? Yes No   
Guest


I am curious would this situation work???



I sign up for a free url redirection service. so my new url is bob.urlredirect.com which then forwards to http://bob.com:81/



Could i then make a cname entry in the dns zone file that has somthing like



www CNAME bob.urlredirect.com



then would www.bob.com goto bob.urlredirect.com which would forward it to bob.com:81?



I am not sure if this works or not, but was curious if this is even possible.



Thanks again.

Was this answer helpful ? Yes No   
Guest


incase anyone is curious it does not work, the forwarding services give back some werid error. all of them that i tried :P



i came across this post on these fourms while looking for info on srv records, but afaik the final post is incorrect becuase supplying a port in a dns A record doesn't work i thought?? atleast it doesn't work for me.



URL



Are there any browers out there today that support the SRV lookups yet? based on low number of times SRV records are mentioned as solutions i would guess they aren't really impliemented into many web browers yet, if any at all.

Was this answer helpful ? Yes No   
Guest


Well, I get a fair amount of traffic, and I don't see any SRV requests for the last 7 days. So I stand by what I said earlier. You can't do this via DNS.

Was this answer helpful ? Yes No   
Guest
 
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2010 by Infoqu. All rights reserved