Override some DNS records and delegate others to another nameserver
Posted
by
Addev
on Server Fault
See other posts from Server Fault
or by Addev
Published on 2012-11-24T18:39:38Z
Indexed on
2012/11/25
5:05 UTC
Read the original article
Hit count: 197
dns
I'm starting playing with nameservers. Currently I have:
- A domain: mydomain.com
- Access for writing the whois ns records.
- Access for writing DNS records at the domain hosting provider. nsX.foo.com
- A shared (hostC) hosting which cPanel writes in the nameserver of nsX.bar.com
Basically I want the following structure:
hostA.mydomain.com -> hostA
hostB.mydomain.com -> hostB
hostC.mydomain.com -> hostC
mydomain.com -> hostC
*.mydomain.com -> hostC
Whats the correct way of configuring this?
By the way I have configured the following records
hostA.mydomain.com IN A [IP_OF_hostA] (at foo.com nameservers)
hostB.mydomain.com IN A [IP_OF_hostB] (at foo.com nameserver)
But now I dont know how to specify that @.mydomain.com
and *.mydomain.com
are resolved by the ns1.bar.com
and ns2.bar.com
, and it is hard to try with the delays after editing the records.
© Server Fault or respective owner