By phogan
When I do nslookup app2 (or app1, ns1, ns2 depnding on which droplet i am on) I always get the external IP address of my ns1 - any ideas where I have gone wrong? Anything in italics are just placeholder values.
Server: 8.8.8.8 Address: 8.8.8.8#53
Non-authoritative answer: app2.lon1.domain.com canonical name = domain.com. Name: domain.com Address: 436.202.70.342
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!
Are you wanting to get the localhost settings for the DNS query?
If so, try dig app2 @localhost
This seems to indicate that the domain’s zone includes a CNAME record that is causing this response. Can you share the zone file you are using for your domain so we can identify the issue?
A CNAME will direct any requests for the specified name to the ip address associated with the second name so if app2.lon1.domain.com is CNAME’ed to domain.com the A record for domain.com is used to determine the IP.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.