My VPS provider installed cPanel/WHM for me. I'm quite comfortable with DNS, but am a little confused about WHM's approach to it.
When I go into DNS functions, I see three zones created:
...where "example.com" is my domain and "host" is the hostname I chose.
The ns1 zone has these records:
ns1.example.com. IN A...
localhost.ns1.example.com. IN A 127.0.0.1
ns1.example.com. IN MX 0 ns1.example.com.
mail IN CNAME ns1.example.com.
www IN CNAME ns1.example.com.
ftp IN CNAME ns1.example.com.
ns2 is the same with s/ns2/ns1/.
host.example.com. IN A ...
localhost.host.example.com. IN A 127.0.0.1
host.example.com. IN MX 0 host.example.com.
mail IN CNAME host.example.com.
www IN CNAME host.example.com.
ftp IN CNAME host.example.com.
What I don't understand is...
- why not create a single example.com zone?
- why the localhost records?
- why define mail, www, ftp, etc. aliases in each zone?