agent: tests for DNS truncate config