Name Servers subdomain quick question


#1

Recently I have changed registrars for my domain. My previous registrar allowed for subdomain Name Server entries. Specifically, the entries appeared as follows:

dh.mydomain.com NS ns1.dreamhost.com
dh.mydomain.com NS ns2.dreamhost.com
dh.mydomain.com NS ns3.dreamhost.com

My new registrar, however, does not allow Name Server entries for subdomains and only allows for the root domain, mydomain.com

After reading the forums, the only suggestion I can seem to find is to run the host command on the Dreamhost website, collect the IP and set up an A record. As the IP of the server is subject to change, it is recommended to keep an eye on it. This does not seem like an acceptable solution. My question is: Is a CNAME record the appropriate solution? And if so, what should the record point to?


#2

Can a moderator tell me if this question is on the correct board? It has been almost 2 weeks now without any response.


#3

A separate name server for subdomains is a rarely used feature. If anything, add a third Name Server for your domain that points to where that subdomain is hosted. Here’s a recent thread on it:

Also, don’t use the ‘host’ command to find your IP address. If you’ve set up a subdomain here, you can check your IP addresses in the panel here under Manage Domains. Click the DNS entry to see what IP addresses have been assigned. And, yes, on rare occasions, that IP address may change.


#4

Thank you for the response. I read through the post but what I am trying to accomplish, I believe, is the other way around. I am trying to point a subdomain on a non-Dreamhost registrar to the Dreamhost Name Servers. However, my registrar does not allow for Name Server subdomains. If I understand correctly, my only option appears to be setting up an A record and when the website goes down, we will have to change the record. Is this correct, or is there another alternative? Thanks again.


#5

You could try adding a DreamHost name server to your registrar. So you’d use ns1.registrar.com, ns2.registrar.com, and ns1.dreamhost.com

If you only set up sub.example.com here and someone wants to visit the site, their computer would look for sub.example.com at ns1.registrar.com, not find it, so it’d check ns2.registrar.com, not find it, so it’d check ns1.dreamhost.com and find it. I’ve not done this, but it’s worth a try.

If that fails, you’d have to add the A record at your other host. IP addresses here rarely change, so you’d be in pretty good shape and remember that if the site disappears, it could have gotten a new IP address.