Zone transfer of primary zone throws error with DNSPython due to nameserver domain #1142
-
I have 2 Technitium instances, one has my primary zone Now I am using DNSPython to interact with the Technitium servers and am attempting to do a zone transfer to get the records. It works as expected for the first few records, but then I get an error Is this out of spec on Technitium's side? I can't seem to find if it's normal for a zone transfer to include a non subdomain like that. Or is DNSPython being overly strict when it shouldn't be, and I should figure out how to get the issue resolved on that end? Sorry if this is confusing. Thanks! Edit: I temporarily disabled the NS record and manually added the DNS server IPs to the zone transfer/notify IP allow lists, and now it all works as expected and DNSPython can process the zone transfer. However it was nice being able to just use a single NS record to keep it more organized. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
Thanks for asking. Its not recommended to set glue records for your zone's NS records. The glue records are required only when you are delegating a subdomain name to another name server. A glue record is sent as an A record in zone transfer which is why the DNSPython is giving you that error. The proper way to do is to have a "internal" zone with A record for "dns2". The other way is how you configured the zone transfer and notify settings in Zone Options. |
Beta Was this translation helpful? Give feedback.
Thanks for asking. Its not recommended to set glue records for your zone's NS records. The glue records are required only when you are delegating a subdomain name to another name server. A glue record is sent as an A record in zone transfer which is why the DNSPython is giving you that error.
The proper way to do is to have a "internal" zone with A record for "dns2". The other way is how you configured the zone transfer and notify settings in Zone Options.