Ever lost Windows access to an entire partition? It’s not a common issue, but it does creep up with USB drives as they move from one system to another. If you find yourself in this situation you can take ownership of the entire volume and reset all of the permissions either via the command line (as administrator) as shown below (drive letter in this example is E):
TAKEOWN /F E:\ /R /D /Y
This can also be done via the GUI:
Right click on the drive letter in Windows Explorer
Select “Properties”
Click on the “Security” tab
At the bottom of the window that pops up, select “Advanced”
In the new window that pops up, click on “Owner”
Select “edit”
Choose your account name.
Clock the checkbox to “Replace owner on subcontainers and objects”
With BIND 9.9.x, the slave zone files are now saved in a default raw binary format. This was done to improve performance, but at the sacrifice of being able to easily view the contents of the files.
With the combination of caching software solutions (sssd, nscd, cached zone files, ttl’s, etc), it can make debugging more difficult. In order to view the raw binary content, it must be converted to text first:
named-compilezone -f raw -F text -o example.net.text example.net example.net.raw
It’s an added layer of complexity, but if you need the microscopic performance boost, that’s the way to go. For those of us that don’t see any issues with the text file format, simply update the named.conf files for your slave zones to include the line:
masterfile-format text;
For example:
zone "mydomain.com" in {
type slave;
notify no;
file "data/mydomain.com";
masterfile-format text;
masters { 10.100.200.10; };
};