diff --git a/README.md b/README.md index 3689c79..be3e81c 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ DNS Library for PHP with native Yggdrasil support ## Usage ### Resolve records + ``` var_dump( \Yggverse\Dns\Dig::records('yo.index', ['A', 'AAAA']) @@ -17,18 +18,24 @@ var_dump( ## Check hostname valid +``` var_dump( \Yggverse\Dns\Dig::isHostName('yo.index') ); +``` ## Check record valid +``` var_dump( \Yggverse\Dns\Dig::isRecord('A') ); +``` ## Check record value valid +``` var_dump( \Yggverse\Dns\Dig::isRecordValue('A', '127.0.0.1') ); +``` \ No newline at end of file