From 35c150a77ae0e7f4eede0253809abe0fb4f8ce8f Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 15 Dec 2023 18:17:57 +0200 Subject: [PATCH] update readme --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) 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