Glue records for sub domains?

Solution 1:

You need glue records if the NS records for a domain point to hostnames within that domain. For example, this would not need glue-records:

testing.example.com:
NS = ns1.infra.example.com.
NS = ns2.infra.example.com.

Where, this one would need glue-records:

testing.example.com:
NS = ns1.testing.example.com.
NS = ns2.testing.example.com.

In that case, the glue records go into the example.com domain.

example.com:
[...]
testing.example.com.     IN NS ns1.testing.example.com.
testing.example.com.     IN NS ns2.testing.example.com.
ns1.testing.example.com. IN  A 172.16.202.152
ns2.testing.example.com. IN  A 172.12.9.11