School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,433 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,510 people online right now. Registration is fast and FREE... Join Now!




Internal Domains

 

Internal Domains, Is this what DNS does?

killnine

29 Apr, 2009 - 07:21 AM
Post #1

D.I.C Head
**

Joined: 12 Feb, 2007
Posts: 159



Thanked: 16 times
My Contributions
So lets say I have my home network (192.168.0.1 as gateway, with addresses up to 192.168.0.12).

Instead of typing in the name of the machine via IP, I want to give each system a name that I can type into a browser, and eventually have subdomains for services ON those particular systems.

For example:

I would like to have an internal domain called HERCULES on my network. If I went to HERCULES/PressMon, I would like it to direct to the HERCULES machine on port 8080 or something.


Is this what I would use DNS for?


I have a copy of Windows Server 2008 Std. on an academic license and I was hoping to setup DNS using IIS. Perhaps someone can recommend the best way of setting this sort of thing up.

User is offlineProfile CardPM
+Quote Post


dsherohman

RE: Internal Domains

2 May, 2009 - 06:25 AM
Post #2

D.I.C Head
**

Joined: 29 Mar, 2009
Posts: 184



Thanked: 35 times
My Contributions
DNS provides mappings of names (such as PressMon.HERCULES) to IP addresses, but does not play any part in determining which port to connect to when you access that address. In general, the port is determined by the protocol used (http goes to port 80, https to 443, ssh to 22, etc.) and you're generally not going to want to mess with that unless you're trying to add a little extra security through obscurity by 'hiding' the service on a non-standard port.

If you're dealing entirely with Windows machines (or non-Windows machines using samba), you may be able to use Windows domain or workgroup services instead, but I don't know Windows well enough to provide any detail on that.
User is offlineProfile CardPM
+Quote Post

killnine

RE: Internal Domains

5 May, 2009 - 05:54 AM
Post #3

D.I.C Head
**

Joined: 12 Feb, 2007
Posts: 159



Thanked: 16 times
My Contributions
QUOTE(dsherohman @ 2 May, 2009 - 06:25 AM) *

DNS provides mappings of names (such as PressMon.HERCULES) to IP addresses, but does not play any part in determining which port to connect to when you access that address. In general, the port is determined by the protocol used (http goes to port 80, https to 443, ssh to 22, etc.) and you're generally not going to want to mess with that unless you're trying to add a little extra security through obscurity by 'hiding' the service on a non-standard port.

If you're dealing entirely with Windows machines (or non-Windows machines using samba), you may be able to use Windows domain or workgroup services instead, but I don't know Windows well enough to provide any detail on that.



well, I am trying to implement some software development services like JIRA and Fisheye (http://www.atlassian.com) on my home network. They don't run on the standard http ports (8080 and 8060, respectively). However, to avoid typing "192.168.0.XXX:8080" into the browser, I just wanted to type a name and have it redirect.

I know I can do this with HOSTS within windows, but I dont want to have to keep up a file for each system that logs onto the network.

Thanks for the help so far! More comments appreciated.
User is offlineProfile CardPM
+Quote Post

no2pencil

RE: Internal Domains

5 May, 2009 - 06:37 PM
Post #4

i R L33t Skiddie, k?
Group Icon

Joined: 10 May, 2007
Posts: 13,231



Thanked: 289 times
Dream Kudos: 2875
Expert In: Goofing Off

My Contributions
This is networking, & not software development, moved to networking smile.gif icon_up.gif

QUOTE(killnine @ 5 May, 2009 - 07:54 AM) *

I know I can do this with HOSTS within windows, but I dont want to have to keep up a file for each system that logs onto the network.

Are you using Apache? I've setup redirects in the vhosts configuration.
User is online!Profile CardPM
+Quote Post

killnine

RE: Internal Domains

7 May, 2009 - 07:48 AM
Post #5

D.I.C Head
**

Joined: 12 Feb, 2007
Posts: 159



Thanked: 16 times
My Contributions
QUOTE(no2pencil @ 5 May, 2009 - 06:37 PM) *

This is networking, & not software development, moved to networking smile.gif icon_up.gif

QUOTE(killnine @ 5 May, 2009 - 07:54 AM) *

I know I can do this with HOSTS within windows, but I dont want to have to keep up a file for each system that logs onto the network.

Are you using Apache? I've setup redirects in the vhosts configuration.



Unfortunately, I am not. The applications I am running are stand-alone, meaning they open with their own copy of Tomcat.

My OS is just a bare-bones install of Server 2008 Standard (x64). So any further suggestions would be appreciated.
User is offlineProfile CardPM
+Quote Post

numeric

RE: Internal Domains

7 May, 2009 - 02:30 PM
Post #6

D.I.C Head
**

Joined: 12 Jan, 2009
Posts: 71



Thanked: 7 times
My Contributions
QUOTE(killnine @ 29 Apr, 2009 - 07:21 AM) *

So lets say I have my home network (192.168.0.1 as gateway, with addresses up to 192.168.0.12).

Instead of typing in the name of the machine via IP, I want to give each system a name that I can type into a browser, and eventually have subdomains for services ON those particular systems.

For example:

I would like to have an internal domain called HERCULES on my network. If I went to HERCULES/PressMon, I would like it to direct to the HERCULES machine on port 8080 or something.


Is this what I would use DNS for?


I have a copy of Windows Server 2008 Std. on an academic license and I was hoping to setup DNS using IIS. Perhaps someone can recommend the best way of setting this sort of thing up.


Hey,

I have an idea of how you might be able to implement the kind of service that you want on your network. It's mostly guesswork though, as I've never implemented the sort of thing you are looking for.

You can use Active Directory & DNS to implement and manage domain names on your network. DNS servers support many different record types including one called SRV (location of service). Amongst other things SRV records let you specify port numbers for services running on a particular domain or sub domain.

In theory, you should be able to use a normal A record to name your computer running the target service and a SRV record to provide the port on which to connect. Your browser should then check DNS for any records and find both the A and SRV records automatically. It might be possible to use LDAP to manage these records through AD as well, although that's me guessing again smile.gif

One thing to look out for - from the little bit of reading about of the net that I did it looks like SRV records might not be supported by some browsers so you might want to check before implementing all this. Sorry I couldn't be more specific - one of these days I'll stop being such a cheapskate and actually fork out for some Windows Server software rolleyes.gif

Hope this helps - Let us know if you get it working!

-N

This post has been edited by numeric: 7 May, 2009 - 03:30 PM
User is offlineProfile CardPM
+Quote Post

killnine

RE: Internal Domains

8 May, 2009 - 04:35 AM
Post #7

D.I.C Head
**

Joined: 12 Feb, 2007
Posts: 159



Thanked: 16 times
My Contributions
QUOTE(numeric @ 7 May, 2009 - 02:30 PM) *

Hey,

I have an idea of how you might be able to implement the kind of service that you want on your network. It's mostly guesswork though, as I've never implemented the sort of thing you are looking for.

.
.
.

Hope this helps - Let us know if you get it working!

-N



Thanks so much for the idea. I will def. give that a try! Hopefully everything is compliant with Firefox 3 and IE7 (or 8). That is what I, myself, use and what anyone at my home developing with me will be using.

Networking is so freaking complicated! I have a few friends who do it for a living but dont live nearby, maybe I can convince them to spend a day getting all this set up wink2.gif

More thoughts welcome, thanks!
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic

Time is now: 11/8/09 12:47AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month