update readme

This commit is contained in:
ghost 2023-12-16 15:35:54 +02:00
parent 9e5f458bd8
commit 17f059d2cb

View File

@ -47,20 +47,27 @@ Show host records
#### Usage #### Usage
##### Attributes
* `name` - required host name, IPv4 or IPv6 * `name` - required host name, IPv4 or IPv6
* `record` - required if `records` not provided * `record` - required if `records` not provided
* `records` - required if `record` not provided * `records` - required if `record` not provided
+ [x] A
+ [x] AAAA
+ [ ] SRV #1
##### Single record ###### Records support
* [x] A
* [x] AAAA
* [ ] SRV #1
##### Request
###### Single record
``` ```
GET dig.php?name=php.net&record=A GET dig.php?name=php.net&record=A
``` ```
##### Multiple records ###### Multiple records
``` ```
GET dig.php?name=php.net&records[]=A&records[]=AAAA GET dig.php?name=php.net&records[]=A&records[]=AAAA