I manage my DNS settings for a domain through digital ocean. I have the following entries.
So all subdomains route to 22.214.171.124 unless I specify a specific DNS entry.
I decide to add another subdomain
I try pinging pear.example.com and it still resolves to 126.96.36.199
In my Zone file * is listed above pear
apple IN A 188.8.131.52 orange IN A 184.108.40.206 * IN A 220.127.116.11 pear IN A 18.104.22.168
which makes me wonder if the DNS check is matching * before it even gets a chance to see pear? For another domain, I deleted the * entry and then added it back to the end of the list and it solved my issue, but that seems a bit of a bodge to me?
Am I doing anything wrong?
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.
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.
Click below to sign up and get $200 of credit to try our products over 60 days!