Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


How do I get a URL into my domain DNS ?

Posted on 2006-10-27
Medium Priority
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.

Question by:ccfcfc
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
LVL 51

Expert Comment

ID: 17820624
Add a CNAME record to the AD Forward Zone.
LVL 22

Accepted Solution

mcsween earned 1000 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.
LVL 25

Expert Comment

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.

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

LVL 22

Expert Comment

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.
LVL 25

Expert Comment

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.

LVL 22

Expert Comment

ID: 17822034

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

I'm done with this disscussion
LVL 51

Assisted Solution

Netman66 earned 1000 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.


Author Comment

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.
LVL 51

Expert Comment

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.


Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

604 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