I have a lot of domains
abc.example
def.example
ghi.example
jkl.example
Each of them are pointed to nameservers on their own domain
abc.example -> ns1.abc.example
ns2.abc.example
def.example -> ns1.def.example
ns2.def.example
ghi.example -> ns1.ghi.example
ns2.ghi.example
jkl.example -> ns1.jkl.example
ns2.jkl.example
These nameservers all resolve to the same IP where I am running a BIND server. I want this BIND server to act as a catch-all and respond with an A record to the same IP.
* A 192.0.2.4
What I don't understand how to setup are the SOA
and NS
records. What would the zone file look like in order to achieve this?