Fixes #12597: remove extraneous method definition in the DNS API tests
And removed redundant validation in dns api 'delete' call
Fixes #12597: remove extraneous method definition in the DNS API tests
And removed redundant validation in dns api 'delete' call