I have to delegate test.example.com to third party provider. Using BIND, in the example.com zone file I set up six NS records like this:
test IN NS a.ns.test.example.com.
test IN NS b.ns.test.example.com.
test IN NS c.ns.test.example.com.
test IN NS d.ns.test.example.com.
test IN NS e.ns.test.example.com.
test IN NS f.ns.test.example.com.
They specifically ask for delegating like this. I then set up the glue records:
a.ns.test IN A IP1
a.ns.test IN A IP2
a.ns.test IN A IP3
a.ns.test IN A IP4
a.ns.test IN A IP5
a.ns.test IN A IP6
Now if I query for the A
record of a.ns.test.example.com.
with dig I get a response with an AUTHORITY SECTION and ADDITIONAL SECTION, but no ANSWER SECTION. I assume this is by design, to avoid lame delegation problems, so that a resolver caches results from the authoritative servers. However, the third party will NOT turn on the service we want from them unless our servers return an A record.
How can I do that with BIND?