GlobalNames Zone (GNZ) is a Microsoft technology that bypasses the normal hierarchical DNS. Such zone is not defined in DNS standards. Therefore, it's only natural you can't find any information on how to setup GNZ with BIND.
Microsoft has also introduced a new type of Zone called GlobalNames or
GNZ which is checked by DNS for any query before the normal DNS Zones
like _msdcs.ForestName and DomainName.
METHOD 1: You can make single label addresses on a recursive BIND server by adding a new authoritative zone for each.
By making a something.
zone you state that this server is authoritative for *.something
, disabling the recursion for all subdomains: make sure your arrangement doesn't replace any actual entire TLD! For the same reason, trying to make a combined "GNZ" would replace the entire root (.
), totally incapacitating the recursive functionality.
METHOD 2: You could use a feature called Response Policy Zone (RPZ) to override single hostnames in one zone:
Starting with BIND 9.8.1, itβs possible to maintain such overrides in
one single zone, removing the hassle of establishing BIND config for
every domain or hostname you need to block or redirect.
You just have to tell BIND that this new zone rpz
you made is special:
zone "rpz" {
type master;
file "db.rpz";
[ other options ]
}
options {
[ other options ]
response-policy { zone "rpz"; };
}