mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
* 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)
18 lines
341 B
Markdown
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 %}
|