mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Update dnsip.markdown (#21279)
This commit is contained in:
parent
093e55e406
commit
36ed80160f
@ -11,11 +11,16 @@ ha_platforms:
|
||||
- sensor
|
||||
---
|
||||
|
||||
The `dnsip` sensor will expose an IP address, fetched via DNS resolution, as its value. It provides both IPv4 and IPv6 lookup as separate sensors depending on accessibility to resolvers.
|
||||
The DNS IP integration will expose an IP address, fetched via DNS resolution, as its value. It provides both IPv4 and IPv6 lookup as separate sensors depending on accessibility to resolvers.
|
||||
|
||||
1. When you enable the sensor with the default value, it will query the [OpenDNS](https://www.opendns.com/) nameservers with the hostname `myip.opendns.com`, which will resolve to your external/public IP address.
|
||||
1. When you enable the integration with the default value, it will query the [OpenDNS](https://www.opendns.com/) nameservers with the hostname `myip.opendns.com`, which will resolve to your external/public IP address.
|
||||
2. If you specify a `hostname`, a regular DNS lookup will be performed, providing you the IP the hostname resolves to.
|
||||
|
||||
You may also override the default nameservers that are being used by setting the `resolver` option in the integration to any nameserver you like.
|
||||
|
||||
{% include integrations/config_flow.md %}
|
||||
|
||||
{% include integrations/option_flow.md %}
|
||||
|
||||
{% configuration_basic %}
|
||||
Resolver:
|
||||
description: "You may override the default nameservers that are being used by setting any nameserver you like."
|
||||
{% endconfiguration_basic %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user