github.com/teknogeek/dnscontrol/v2@v2.10.1-0.20200227202244-ae299b55ba42/docs/_functions/global/IP.md (about)

     1  ---
     2  name: IP
     3  parameters:
     4    - ip
     5  ---
     6  
     7  Converts the IP address from string to an integer. This allows performing mathematical operations with the IP address.
     8  
     9  {% include startExample.html %}
    10  {% highlight js %}
    11  
    12  var addrA = IP('1.2.3.4')
    13  var addrB = addrA + 1
    14  // addrB = 1.2.3.5
    15  
    16  {%endhighlight%}
    17  {% include endExample.html %}