Question

Connect domain to droplet without using NS records

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


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.