1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
Patrik Kernstock c65ba1c84c General docs improvements (#481)
* docs improvements

* Updated matrix as part of "go generate" (e.g. adds SSHFP row)

* Commiting full matrix file

* Added docs for SSHFP record

* Matrix: Mark OVH as SSHFP-capable in docs (see PR #482)
2019-05-20 22:33:50 -04:00

18 lines
341 B
Markdown

---
name: IP
parameters:
- ip
---
Converts the IP address from string to an integer. This allows performing mathematical operations with the IP address.
{% include startExample.html %}
{% highlight js %}
var addrA = IP('1.2.3.4')
var addrB = addrA + 1
// addrB = 1.2.3.5
{%endhighlight%}
{% include endExample.html %}