I have a number of domains that that I would like to set to change the nameserver for to rewrite.mydomain.org
. The goal is to have any domain names with this nameserver be routed to a specific Apache vhost for being rewritten.
The A record for rewrite.mydomain.org
exists, pointing to a server running BIND in a black hole configuration. I'm getting a variant of the message "Records for could not be updated. The nameserver you chose may not be a valid nameserver. Please verify with the provider and try again." from a couple different service providers. What am I missing?
options {
pid-file "/var/run/named/pid";
allow-query { any; };
allow-recursion { none; };
};
zone "." {
type master;
file "/var/named/chroot/etc/db.catchall.conf";
};
And the catchall definition:
$TTL 604800
@ IN SOA . root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
IN NS .
. IN A X.X.137.147
*. IN A X.X.137.147