Hello there,
First bug (before phrabricator process?) here, so be gentle please
Version: VyOS 1.5-rolling-202309291425
Describe problem:
#1)
DNS Forwarding — VyOS 1.4.x (sagitta) documentation, is not update ?
example:
on cli: set service dns dynamic address <interface> web-options url <url>
on faq/docs: set service dns dynamic interface <interface> use-web url <url>
I’m missing something?
(ie: I have seen v: 1.4.x sagitta, even when I choose latest doc…)
#2)
Even when use-web is set:
show service dns dynamic
address eth0 {
service xxxxx.com {
host-name xxxxx.com
password key-api
protocol cloudflare
username xxxx@xxxx
zone xxxxx.com
}
web-options {
skip "Current IP Address: "
url https://checkip.dyndns.com/
}
}
I got: /run/ddclient/ddclient.conf
### Autogenerated by dns_dynamic.py ###
daemon=300
syslog=yes
ssl=yes
pid=/run/ddclient/ddclient.pid
cache=/run/ddclient/ddclient.cache
web=googledomains use=no
# Web service dynamic DNS configuration for xxxxx.com [cloudflare, xxxxx.com]
usev4=ifv4, \
ifv4=eth0, \
protocol=cloudflare, \
zone=xxxxx.com, \
login=xxxxx@xxx, \
password=xxxx \
xxxxx.com
It’s normal that, ifv4, use eth0 ip, and not web?
And so, I got the “local” ip of eth0 (behind NAT)
cat /run/ddclient/ddclient.cache: atime=1696236009,backupmx=0,host=xxxxx.com,ipv4=10.0.10.9,…
Thanks
Edit:
In the file /run/ddclient/ddclient.conf
If i remove:
usev4=ifv4, \
ifv4=eth0, \
and modify the line 8: s/‘use=no’/‘use=web’/g, everything works, BUT the configuration will be temporary no?