DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.

ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!
Download and Activate to enter!

Web development can be a daunting task, even for specialists. There is a lot of information to absorb and a lot of technologies to learn in order to manage a superior website. When trying to learn the ropes, developers need a reliable source to introduce new ideas that can be easily implemented. When working on large projects, even web veterans may run into a technology or an aspect of a technology that they are unfamiliar with.

Learn More!


Download to Enter
| Contest Rules

Tutorials | Forums

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 21st, 2011, 06:39 AM
steevoo steevoo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2011
Posts: 10 steevoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 43 m 5 sec
Reputation Power: 0
Multi subdomain configuration

its possible to configure dns that give subdomains the same ip but with differents ports mean
alfa.example.com 10.10.10.1 :550
beta.example.com 10.10.10.1 :560
the subdomains are not for web application all of them , cuz some of them are been used for terminal machine, other for mail server and others. for this reason, i need different port and i dont want to make the port fixed in the local machine .

thank you for reply

steevoo

Reply With Quote
  #2  
Old December 21st, 2011, 03:33 PM
requinix's Avatar
requinix requinix is offline
Woof
Click here for more information.
 
Join Date: Mar 2007
Location: Washington, USA
Posts: 10,750 requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)  Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 5 Months 9 h 49 m 29 sec
Reputation Power: 7951
Send a message via AIM to requinix Send a message via MSN to requinix Send a message via Yahoo to requinix
It is not. DNS only provides names and addresses - no port numbers.

If you must have something like this then set up proxy servers for those addresses. They can proxy requests to wherever you want.
Comments on this post
[JM] agrees!

Reply With Quote
  #3  
Old December 22nd, 2011, 01:44 AM
steevoo steevoo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2011
Posts: 10 steevoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 43 m 5 sec
Reputation Power: 0
can you please explain more about proxy server how it can resolve my problem, coz i think to set up a server to provide the port
thx for reply
steevoo

Reply With Quote
  #4  
Old December 22nd, 2011, 06:41 AM
steevoo steevoo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2011
Posts: 10 steevoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 43 m 5 sec
Reputation Power: 0
any expert here can help me !!!!!!!!!!!!!!

Reply With Quote
  #5  
Old December 22nd, 2011, 02:41 PM
requinix's Avatar
requinix requinix is offline
Woof
Click here for more information.
 
Join Date: Mar 2007
Location: Washington, USA
Posts: 10,750 requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)requinix User rank is General 105th Grade (Above 100000 Reputation Level)  Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 5 Months 9 h 49 m 29 sec
Reputation Power: 7951
Send a message via AIM to requinix Send a message via MSN to requinix Send a message via Yahoo to requinix
What web server are you using? Choices include Apache and IIS.

Reply With Quote
  #6  
Old December 23rd, 2011, 02:04 AM
steevoo steevoo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2011
Posts: 10 steevoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 43 m 5 sec
Reputation Power: 0
it is there a way to provide the port to the client as the way we provide the ip???
thanks you for reply

Reply With Quote
  #7  
Old December 23rd, 2011, 03:52 PM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Moderator
Click here for more information.
 
Join Date: Dec 2004
Posts: 6,456 E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 1 Month 2 Weeks 4 Days 2 h 6 m 8 sec
Reputation Power: 6144
There is no DNS equivalent for port numbers, the local client must know the port number before initiating the connection. The only way to not have to enter the port number manually is to use the application's default port.

If all of your applications run on different port numbers you could set up a router with port forwarding at 10.10.10.1 and it would be able to distribute the requests to different physical servers based on the port number, regardless of which domain the request uses. However, there is no way for the router to automatically determine the port number based on the incoming domain name. This also will not allow you to run multiple applications on the same port number (even if they are on different domains).

A proxy server could direct requests for different domains to different ports IF the protocol supports it. For example, HTTP/1.1 does support this because the domain name is included in the request, however many other protocols do not. I do not know exactly which protocols do and do not support this.

It sounds like the best approach for you would be to get separate IP addresses for each server so that you can use the application's default port.

Also please note that most of the people on here are located in the US, so don't be surprised if you don't get any responses between 2:44 AM and 7:41 AM; most of us are sleeping. Also this is the biggest holiday weekend of the whole year in the US, so these forums will probably be slow for the next three or four days.
__________________
How to program a basic, secure login system using PHP

Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Last edited by E-Oreo : December 23rd, 2011 at 03:55 PM.

Reply With Quote
  #8  
Old December 23rd, 2011, 04:24 PM
steevoo steevoo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2011
Posts: 10 steevoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 43 m 5 sec
Reputation Power: 0
Quote:
Originally Posted by E-Oreo
There is no DNS equivalent for port numbers, the local client must know the port number before initiating the connection. The only way to not have to enter the port number manually is to use the application's default port.

If all of your applications run on different port numbers you could set up a router with port forwarding at 10.10.10.1 and it would be able to distribute the requests to different physical servers based on the port number, regardless of which domain the request uses. However, there is no way for the router to automatically determine the port number based on the incoming domain name. This also will not allow you to run multiple applications on the same port number (even if they are on different domains).

A proxy server could direct requests for different domains to different ports IF the protocol supports it. For example, HTTP/1.1 does support this because the domain name is included in the request, however many other protocols do not. I do not know exactly which protocols do and do not support this.

It sounds like the best approach for you would be to get separate IP addresses for each server so that you can use the application's default port.

Also please note that most of the people on here are located in the US, so don't be surprised if you don't get any responses between 2:44 AM and 7:41 AM; most of us are sleeping. Also this is the biggest holiday weekend of the whole year in the US, so these forums will probably be slow for the next three or four days.

what about implement serv record server i guess it will resolve my problem if the client support it too but i wonder if the usual DNS cache can work with the srv recorde server in the same way it does with the remote DNS server or does it need a specified DND cache ?
thx for reply

Reply With Quote
  #9  
Old December 23rd, 2011, 08:32 PM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Moderator
Click here for more information.
 
Join Date: Dec 2004
Posts: 6,456 E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)E-Oreo User rank is General 77th Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 1 Month 2 Weeks 4 Days 2 h 6 m 8 sec
Reputation Power: 6144
Interesting, I didn't know about that type of record. Yes, if the client has support for using a SRV record then I imagine that would do exactly what you need. I'm not sure how widely support this is at the client level, but it seems that bind supports it, so I imagine that server side it is pretty widely supported.

As far as caching go, it depends on the cache. I don't know what you mean by a "usual" DNS cache; the operating system level DNS cache? If serving SRV records is widely supported then I imagine that most DNS caches will support it.

Reply With Quote
Closed Thread

Viewing: Dev Shed ForumsSystem AdministrationDNS > Multi subdomain configuration


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap