It looks to me like named-checkzone isn't able to read a zone file from stdin.
% cat example.com.db | named-checkzone example.com - zone example.com/IN: loading from master file - failed: file not found zone example.com/IN: not loaded due to errors. % cat example.com.db | named-checkzone example.com usage: named-checkzone [-djqvD] [-c class] [-f inputformat] [-F outputformat] [-J filename] [-t directory] [-w directory] [-k (ignore|warn|fail)] [-n (ignore|warn|fail)] [-m (ignore|warn|fail)] [-r (ignore|warn|fail)] [-i (full|full-sibling|local|local-sibling|none)] [-M (ignore|warn|fail)] [-S (ignore|warn|fail)] [-W (ignore|warn)] [-o filename] zonename filename If I'm missing something in the man page, could someone provide me with the appropriate clue? If it's not, what are the chances this feature could show up in a future version? In my particular case this would help with reading in zones stored as compressed files, so that I can pipe the decompression directly into named-checkzone without having to do an extra write to disk. I can imagine it may be useful to others, in different situations, as well.
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users