diff mbox series

[next,3/3] package/inadyn: update inadyn.conf example

Message ID 20211205102907.2836980-4-troglobit@gmail.com
State Superseded
Headers show
Series package/inadyn: start script rework + repost | expand

Commit Message

Joachim Wiberg Dec. 5, 2021, 10:29 a.m. UTC
- Comment out iface setting, usually not what you want
 - Update DynDNS example, show use of multiple hostnames
 - Add FreeDNS sample config, free and stable service
 - Add link to syntax and examples

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
---
 package/inadyn/inadyn.conf | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

Comments

Arnout Vandecappelle Dec. 11, 2021, 8:42 p.m. UTC | #1
On 05/12/2021 11:29, Joachim Wiberg wrote:
>   - Comment out iface setting, usually not what you want
>   - Update DynDNS example, show use of multiple hostnames
>   - Add FreeDNS sample config, free and stable service
>   - Add link to syntax and examples
> 
> Signed-off-by: Joachim Wiberg <troglobit@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/inadyn/inadyn.conf | 25 ++++++++++++++++++++-----
>   1 file changed, 20 insertions(+), 5 deletions(-)
> 
> diff --git a/package/inadyn/inadyn.conf b/package/inadyn/inadyn.conf
> index 1b29027606..3328ee2218 100644
> --- a/package/inadyn/inadyn.conf
> +++ b/package/inadyn/inadyn.conf
> @@ -1,11 +1,26 @@
> -# Basic configuration file for inadyn
> +# Example /etc/inadyn.conf
>   #
> -# /etc/inadyn.conf
> -iface    = eth0
> +# Remember to change this file to match your provider and credentials
> +# Username and password can be included from another file.  For more
> +# info, see https://man.troglobit.com/man5/inadyn.conf.5.html
> +
> +# Use IP address of interface instead of external checkip server.
> +# Useful when you want to register internal IP addresses
> +#iface    = eth0
> +
> +# IP address change check interval
>   period   = 300
>   
> -provider default@dyndns.org {
> +# Remove of change to match your Dyn account
> +provider dyndns.org {
>   	username    = test
>   	password    = test
> -	hostname    = test
> +	hostname    = { "my.example.com", "other.example.org" }
> +}
> +
> +# Remove or change to match your FreeDNS account
> +provider freedns {
> +     username   = lower-case-username
> +     password   = case-sensitive-pwd
> +     hostname   = some.example.com
>   }
>
diff mbox series

Patch

diff --git a/package/inadyn/inadyn.conf b/package/inadyn/inadyn.conf
index 1b29027606..3328ee2218 100644
--- a/package/inadyn/inadyn.conf
+++ b/package/inadyn/inadyn.conf
@@ -1,11 +1,26 @@ 
-# Basic configuration file for inadyn
+# Example /etc/inadyn.conf
 #
-# /etc/inadyn.conf
-iface    = eth0
+# Remember to change this file to match your provider and credentials
+# Username and password can be included from another file.  For more
+# info, see https://man.troglobit.com/man5/inadyn.conf.5.html
+
+# Use IP address of interface instead of external checkip server.
+# Useful when you want to register internal IP addresses
+#iface    = eth0
+
+# IP address change check interval
 period   = 300
 
-provider default@dyndns.org {
+# Remove of change to match your Dyn account
+provider dyndns.org {
 	username    = test
 	password    = test
-	hostname    = test
+	hostname    = { "my.example.com", "other.example.org" }
+}
+
+# Remove or change to match your FreeDNS account
+provider freedns {
+     username   = lower-case-username
+     password   = case-sensitive-pwd
+     hostname   = some.example.com
 }