To add some local information into the normal DNS data.
local-zone: example.org typetransparent local-data: "server.example.org A 8.8.8.8"
NOTE: Any other DNS records for server.example.org will be returned as-is, such as MX records.
local-zone: example.com transparent local-data: "server.example.com A 9.9.9.9"
NOTE: This also effectively deleted all other DNS records for it. If it has an MX record or a TXT record or what have you, those records will not be visible.
WARNING: Transparent local zones have one gotcha:
local-zone: example.net transparent local-data: "example.net A 7.7.7.7"
There is no way to use a typetransparent zone but delete certain record types for some names, which you would use so you can do things like remove all MX entries for some host names.
Zones, however, do not have to map to actual DNS zones, so you can do this:
# Instead of this: local-zone: example.org typetransparent local-data: "server.example.org A 8.8.8.8" # but: local-zone: www.example.org transparent local-data: "www.example.org A 8.8.8.8"
NOTE: By claiming www.example.org as a separate transparent local zone, this allows us to delete all records for it but the A record that we supply;