In the VyOS 1.2.4 don't work 2 custom ddns services. In VyOS 1.2.3, it was possible to specify any service names without validation.
Example
set service dns dynamic interface eth0 service duckdn set service dns dynamic interface eth0 service mysperdnserver set service dns dynamic interface eth0 service mysuperdn2server
Now only through the custom service
In this case login and password are overwritten.
set service dns dynamic interface eth0 service custom host-name 'host01.01test.com' set service dns dynamic interface eth0 service custom login 'login01' set service dns dynamic interface eth0 service custom password 'pass01' set service dns dynamic interface eth0 service custom protocol 'dyndns2' set service dns dynamic interface eth0 service custom server 'www.duckdns.org' set service dns dynamic interface eth0 service custom host-name 'host02.02test.com' set service dns dynamic interface eth0 service custom login 'login02' set service dns dynamic interface eth0 service custom password 'pass02' set service dns dynamic interface eth0 service custom server 'www.duckdns2.org'
[email protected]# sudo cat /etc/ddclient/ddclient.conf
### Autogenerated by dynamic_dns.py ### daemon=1m syslog=yes ssl=yes pid=/var/run/ddclient/ddclient.pid cache=/var/cache/ddclient/ddclient.cache # # ddclient configuration for interface "eth0": # use=if, if=eth0 # DynDNS provider configuration for host01.01test.com protocol=dyndns2, max-interval=28d, login=login02, password='pass02', server=www.duckdns2.org, host01.01test.com # DynDNS provider configuration for host02.02test.com protocol=dyndns2, max-interval=28d, login=login02, password='pass02', server=www.duckdns2.org, host02.02test.com
Strict validation is also present.
[email protected]# set service dns dynamic interface eth0 service duckdns Please choose from the list of allowed services Value validation failed Set failed [edit] [email protected]#
In version 1.2.3, this was solved by a workaround. because there was no strict validation.
set service dns dynamic interface eth0 service duckdns host-name 'host01.01test.com' set service dns dynamic interface eth0 service duckdns login 'login01' set service dns dynamic interface eth0 service duckdns password 'pass01' set service dns dynamic interface eth0 service duckdns protocol 'dyndns2' set service dns dynamic interface eth0 service duckdns server 'www.duckdns.org' set service dns dynamic interface eth0 service pubyun host-name 'host02.02test.com' set service dns dynamic interface eth0 service pubyun login 'login02' set service dns dynamic interface eth0 service pubyun password 'pass02' set service dns dynamic interface eth0 service pubyun protocol 'dyndns2' set service dns dynamic interface eth0 service pubyun server 'www.pubyun.com'
[email protected]# sudo cat /etc/ddclient.conf
### Autogenerated by dynamic_dns.py ### daemon=1m syslog=yes ssl=yes pid=/var/run/ddclient/ddclient.pid cache=/var/cache/ddclient/ddclient.cache # # ddclient configuration for interface "eth0": # use=if, if=eth0 # DynDNS provider configuration for host01.01test.com protocol=dyndns2 max-interval=28d login=login01 password='pass01' server=www.duckdns.org host01.01test.com # DynDNS provider configuration for host02.02test.com protocol=dyndns2 max-interval=28d login=login02 password='pass02' server=www.pubyun.com host02.02test.com [edit] [email protected]#