CNAME and A record have different TTLs. Which one will be cached?

You can see that the CNAME and subsequent record have different TTLs by using dig.. dig docs.nwesd.org ; <<>> DiG 9.5.1-P3 <<>> docs.nwesd.org ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28244 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 4 ;; QUESTION SECTION: ;docs.nwesd.org. … Read more

Can someone using the same DNS server as me hijack my domains?

Never you mind the comments section below, and never you mind the previous answers in the edit history. After about an hour of some conversation with friends (thank you @joeQwerty, @Iain, and @JourneymanGeek), and some jovial hacking around we got to the bottom of both your question and the situation on the whole. Sorry for … Read more

How to redirect domain A to domain B using A-Records and CNAME records only

So you are not looking at redirection as such (as that happens at the app level, i.e. on Apache/Nginx/wherever) but rather on the DNS resolution. The host on which DomainA is hosted will or should never be hit, based on your description as you want the DNS requests to be resolved to the IPs of … Read more