Page MenuHomeVyOS Platform

Adjust dynamic dns configuration address subpath to be more intuitive and other op-mode adjustments
Closed, ResolvedPublic

Description

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.

Details

Difficulty level
Unknown (require assessment)
Version
1.4, 1.5
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Config syntax change (migratable)
Issue type
Improvement (missing useful functionality)

Event Timeline

indrajitr triaged this task as Normal priority.Jan 20 2024, 6:16 AM
indrajitr created this task.
indrajitr created this object in space S1 VyOS Public.
Viacheslav changed the task status from Open to Needs testing.Feb 2 2024, 8:19 AM

Updates have been applied on 1.4 and 1.5.