What do you mean "failed"? NXDOMAIN? SERVFAIL? Timeout? They are very different things. I would strongly object to returning 1 when the answer is NXDOMAIN (the query succeeded).
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in Ubuntu. https://bugs.launchpad.net/bugs/854705 Title: dig returns 0 regardless of result of query To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/854705/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs