DEV Community

Discussion on: Do I need to understand DNS as Web Developer?

Collapse
 
fduteysimfinity profile image
fdutey-simfinity

This is absolutely inaccurate.

A CNAME record is NOT a redirection. A Redirection is an http concept (301/302). Means you visit xyz.com, the server responds "actually, the resource you want is at xyz.com"
A CNAME is an alias, meaning, when you do a DNS RESOLUTION (ie: name to IP) for a given name, this name resolves to whatever the "other name" you put in the record resolves.

Also, TXT records don't have any meaning. It's just a piece of text you attach to a name. It's used for many different things.

Collapse
 
devcodesguy profile image
Devcodesguy

Thanks mate, I have had a slightly different idea than yours. However I've updated the article! :)