Revert "Fix the too small buffer for dname again"

This reverts commit 970fb2212c51ab369bb8c95a242696ff09bf31b6.
diable /dev/diag