Make host optional (#3733)

This commit is contained in:
Fabian Affolter 2017-10-23 15:53:43 +02:00 committed by GitHub
parent 449567f138
commit 166faf4e49

View File

@ -13,7 +13,7 @@ featured: false
ha_release: 0.56 ha_release: 0.56
--- ---
With the namecheapDNS component you can automatically update your dynamic DNS entry. With the `namecheapdns` component you can automatically update your dynamic DNS entry at [namecheapdns](https://www.namecheap.com/store/domains/freedns/).
<p class='note warning'> <p class='note warning'>
Namecheap only supports IPv4 adresses to update. Namecheap only supports IPv4 adresses to update.
@ -24,22 +24,21 @@ To use the component in your installation, add the following to your `configurat
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
namecheapdns: namecheapdns:
host: '@'
domain: example.com domain: example.com
access_token: 0123_Dynamic_DNS_Password password: YOUR_PASSWORD
``` ```
{% configuration %} {% configuration %}
host: host:
description: The host part or "subdomain" part you want to update (If you want your domain leave the @ sign) description: The host part or "subdomain" part you want to update.
required: true required: false
type: string type: string
domain: domain:
description: Your namecheap TLD (example.com). description: Your namecheap TLD (example.com).
required: true required: true
type: string type: string
access_token: password:
description: The namecheap "Dynamic DNS Password" you can find under the "Advanced DNS" Tab description: The namecheap "Dynamic DNS Password" you can find under the "Advanced DNS" tab.
required: true required: true
type: string type: string
{% endconfiguration %} {% endconfiguration %}