Web API tools with native Yggdrasil/IPv6 support

34 lines
335 B

1 year ago
# dns-api
1 year ago
1 year ago
Simple DNS API
1 year ago
## Install
```
git clone https://github.com/YGGverse/dns-api.git
cd dns-api
composer install
```
## Run
```
cd src/public
php -S localhost:8080
```
## Usage
### Dig
#### Single record
```
dig.php?name=php.net&record=A
```
#### Multiple records
```
dig.php?name=php.net&records[]=A&records[]=AAAA
```