Solved

How do I get a URL into my domain DNS ?

Posted on 2006-10-27
11
206 Views
Last Modified: 2010-04-18
I am trying to configure a URL into my 2003 DNS.

I have the URL registered publicly but, because of the network configuration, some of the servers won't be able to access it on the public IP.

So, I need to point the URL, let's say test.url.com, to a local IP address within DNS.

My question is, how would I raise the record so that it points at test.url.com ? If I try to raise that it just seems to setup a new zone in DNS with .com at the top and .url and .test as subfolders and doesn't have an A record that returns the local IP address. How do I get test.url.com to return the local IP ?

I know I can just add this entry into hosts on each server, which is what I've done for now to get it working, but I'd prefer to do this in DNS to maintain centralised control.

Thanks.
0
Comment
Question by:ccfcfc
  • 3
  • 3
  • 2
  • +1
11 Comments
 
LVL 51

Expert Comment

by:Netman66
ID: 17820624
Add a CNAME record to the AD Forward Zone.
0
 
LVL 21

Accepted Solution

by:
mcsween earned 250 total points
ID: 17821263
let's look at this a bit.  Test.url.com in DNS is actually a host that resides in a subdomain of a domain.

Test - This is the hostname
URL - This is a subdomain of com
com - this is a domain

So in order to have this work you would need to have the forward lookup zone "url.com" to exist then create a host record named Test.  This will give you the correct record.
0
 
LVL 25

Expert Comment

by:mikeleebrla
ID: 17821740
sorry mcsween, but that is not correct.  Since MS does NOT support single label domain names the domain would be URL.com so the FQDN (Fully Qualified Domain Name) for any host in the domain url.com would be hostname.url.com.  "com" is NOT the domain name.

like Netman said, all you need to do is go int your forward lookup zone for url.com and create an A record named 'test' that points to the local IP of the server you are trying to get to.  Thats it.

0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 21

Expert Comment

by:mcsween
ID: 17821806
That's exactly what I said...as quoted from my post...
""So in order to have this work you would need to have the forward lookup zone "url.com" to exist then create a host record named Test.  This will give you the correct record.""

And yes MS does NOT support single label domain names but .com is in fact a domain in the DNS world.

What I was trying to get across is if his AD domain isn't called "url.com" then he has to create a forward lookup zone for that.
0
 
LVL 25

Expert Comment

by:mikeleebrla
ID: 17821961
run the 'set' command from a command prompt on a host that is in a domain and look for the 'userdnsdoman' line.  You will see that it will list domainname.com as the DOMAIN, not 'com' as the domain.

also, can you register 'com' as a domain name? no.  But you can register domainname.com as a domain name.

both of these show that in the example "url.com" that url.com is the domain name and that url is NOT the sub-domain as you stated.

0
 
LVL 21

Expert Comment

by:mcsween
ID: 17822034
http://dict.die.net/top-level%20domain/

Top Level Domain - it's right in the name!

I'm done with this disscussion
0
 
LVL 51

Assisted Solution

by:Netman66
Netman66 earned 250 total points
ID: 17822373
Easy does it guys...

Creating a TLD zone is fine, but unnecessary.

A CNAME is actually an Alias.  It's not a HOST record, but you can create an entry for test.url.com under the same FLZ but pointing to the internal Web server FQDN.  As long as the site in IIS is set to All Unassigned it will answer.

0
 

Author Comment

by:ccfcfc
ID: 17832618
Thanks for all the contributions.

Netman66 - how do I go about creating the record in the same FLZ ? I tried creating a CNAME record but this just created a new TLD.
0
 
LVL 51

Expert Comment

by:Netman66
ID: 17832859
Yes, that's what it will do.  It'll create sub sub-containers for that entry inside your FLZ.

Give it a shot and see what you get.

0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question