mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Abolish references to dig
in examples.
This commit is contained in:
parent
83cbd76f16
commit
08e7d8351a
1 changed files with 4 additions and 4 deletions
|
@ -232,7 +232,7 @@ def check_ip(ip_addr):
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
salt ns1 dig.check_ip 127.0.0.1
|
||||
salt ns1 dnsutil.check_ip 127.0.0.1
|
||||
'''
|
||||
if _has_dig():
|
||||
return __salt__['dig.check_ip'](ip_addr)
|
||||
|
@ -302,7 +302,7 @@ def NS(domain, resolve=True, nameserver=None):
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
salt ns1 dig.NS google.com
|
||||
salt ns1 dnsutil.NS google.com
|
||||
|
||||
'''
|
||||
if _has_dig():
|
||||
|
@ -323,7 +323,7 @@ def SPF(domain, record='SPF', nameserver=None):
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
salt ns1 dig.SPF google.com
|
||||
salt ns1 dnsutil.SPF google.com
|
||||
'''
|
||||
if _has_dig():
|
||||
return __salt__['dig.SPF'](domain, record, nameserver)
|
||||
|
@ -346,7 +346,7 @@ def MX(domain, resolve=False, nameserver=None):
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
salt ns1 dig.MX google.com
|
||||
salt ns1 dnsutil.MX google.com
|
||||
'''
|
||||
if _has_dig():
|
||||
return __salt__['dig.MX'](domain, resolve, nameserver)
|
||||
|
|
Loading…
Add table
Reference in a new issue