diff --git a/quovadis/quovadis.php b/quovadis/quovadis.php index a26fc443dd28b411ec391c6bd323e615e743512e..96c824bb3aee798ea1cdcd2719367d26dbfd80c4 100644 --- a/quovadis/quovadis.php +++ b/quovadis/quovadis.php @@ -13,6 +13,16 @@ function check_username($username) { return is_array(posix_getpwnam($username)); } +function get_desec_txt($name) { + $restService = new RestService(); +// $response = $restService +// ->setEndpoint('https://jsonplaceholder.typicode.com') +// ->get('/posts/1'); + +// curl https://desec.io/api/v1/domains/{name}/rrsets/{subname}/{type}/ \ +// --header "Authorization: Token {token}" +} + function check_api_key($api_key) { // API keys need to be alpha numeric return 1;