srv-lookup
v1.0.1
Published
[](https://www.npmjs.com/package/srv-lookup)
Readme
srv-lookup
Install
npm install srv-lookupUsage
Get server url from srv record, that can later be used as the domain name in for example an axios call.
const srvLookup = require('srv-lookup');
const serverUrl = await srvLookup('myserver.mydomain'); //this will return something like serverurl:serverportAuthor
👤 Emil Rowland
- Github: @emilrowland
🤝 Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
📝 License
Copyright © 2020 Emil Rowland. This project is MIT licensed.
