Report this

What is the reason for this report?

Connect domain to droplet without using NS records

Posted on June 9, 2014

Hi,

can i connet my domain to a droplet without using NS records, but using droplet IP, like this DNS records

@ A droplet-ip www A droplet-ip

thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Domains mean nothing to devices, they use IPs. Domains are introduced to help humans remember addresses more easily. For an example, if you request domain.com, your browser will first look into it’s cache, than it will pass to your OS resolver, if he has nothing, he’ll then ask your ISP, if he’s got nothing, eventually someone will knock on the doors of an authoritative .com server and he’ll say something in the lines of: I’m not sure man, but ns1.digitalocean.com knows example.com, ask him. And since DO’s NS has IP of your droplet matching example.com, he’ll give your IP away and you’re ready to connect to your droplet. Therefore, you cannot use domain if there is no Nameserver to resolve that domain to an IP.


Q: Can I use droplet’s IP instead of the NS? A: No.

WHAT? What kind of question is this. If you are not using a NS to make DNS records, you can only use the IP.

What are you trying to do? What you say means nothing.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.