My VPS provider installed cPanel/WHM for me.
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:
ns2 is the same.
host.example.com is
What I don't understand is...
I know how DNS works - just trying to understand WHM's approach to it.
When I go into DNS functions, I see three zones created:
- ns1.example.com
- ns2.example.com
- host.example.com
...where "example.com" is my domain and "host" is the hostname I chose.
The ns1 zone has these records:
Code:
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.
host.example.com is
Code:
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.
- why not create a single example.com zone?
- why the localhost records?
- why define mail, www, ftp, etc. aliases in each zone?
I know how DNS works - just trying to understand WHM's approach to it.
Last edited: