amarao.get-external-ip-via-dyndns

Get External IP via OpenDNS

This process will find out your machine's external (public) IPv4 address using the OpenDNS server.

The address will be saved as 'external_ip'.

Requirements

  • Your machine must have an active external network connection and be capable of sending DNS requests (UDP on port 53).
  • The OpenDNS service must be working.
  • The 'dig' utility must be installed on your machine.

Role Variables

  • dns_selfip_resolver (set by default to resolver1.opendns.com)

Dependencies

  • None

Example Playbook

- hosts: servers
  roles:
     - { role: get-external-ip-via-opendns }

License

BSD

Author Information

(c) George Shuklin, 2015

Informazioni sul progetto

Set fact about machine - external (white) IPv4 address via opendns server.

Installa
ansible-galaxy install amarao.get-external-ip-via-dyndns
Licenza
Unknown
Download
242
Proprietario