Modify the configuration address subpath of dns dynamic to be more intuitive. With this adjustment, the address lookup strategy is communicated more clearly.
Summary of the change in configuration path with a minimal set of examples:
Case 1: DDNS with address lookup from interface eth2:
Before:
set service dns dynamic name cloudflare address "eth2" # Rather confusing because 'eth2' is an interface, not an IP address set service dns dynamic name cloudflare protocol "cloudflare" set service dns dynamic name cloudflare zone "example.com" set service dns dynamic name cloudflare host-name "dyn.example.com" set service dns dynamic name cloudflare password "super-secret"
After:
set service dns dynamic name cloudflare address interface "eth2" # Clarifies that IP address *associated with* interface 'eth2' is used set service dns dynamic name cloudflare protocol "cloudflare" set service dns dynamic name cloudflare zone "example.com" set service dns dynamic name cloudflare host-name "dyn.example.com" set service dns dynamic name cloudflare password "super-secret"
Case 2: DDNS with address lookup from web (with web-options):
Before:
set service dns dynamic name cloudflare address web set service dns dynamic name cloudflare web-options url 'https://domains.google.com/checkip' # `web-option` is *separate* set service dns dynamic name cloudflare protocol 'cloudflare' set service dns dynamic name cloudflare zone 'example.com' set service dns dynamic name cloudflare host-name 'dyn.example.com' set service dns dynamic name cloudflare password 'super-secret'
After:
set service dns dynamic name cloudflare address web url 'https://domains.google.com/checkip' # web-options are subpath of 'web' set service dns dynamic name cloudflare protocol 'cloudflare' set service dns dynamic name cloudflare zone 'example.com' set service dns dynamic name cloudflare host-name 'dyn.example.com' set service dns dynamic name cloudflare password 'super-secret'
Additional changes:
- Few adjustments to op-mode configuration to standardize around vyos.opmode.