Bug #41272
Updated by Dru Lavigne over 2 years ago
The dynamic DNS service doesn't start for me, though I think it used to work.
The apparent cause is a bug in its config parser which doesn't allow # in strings (such as the password). strings. I haven't checked if \# works yet.
# cat /usr/local/etc/inadyn.conf
period = 86400
provider default@freedns.afraid.org {
username = alexstrange
password = <some base64>
hostname = { "<host>#<secret>" }
}
# inadyn -n
inadyn[70707]: In-a-dyn version 2.2 -- Dynamic DNS update client.
inadyn[70707]: /usr/local/etc/inadyn.conf:4: unexpected token '='
inadyn[70707]: Parse error in /usr/local/etc/inadyn.conf
inadyn[70707]: Error code 74: Missing .conf file
It seems to be upset about the password. I changed the conf to:
allow-ipv6 = true
provider default@freedns.afraid.org {
username = alexstrange
password = "<password>"
hostname = <host>#<secret>
}
The apparent cause is a bug in its config parser which doesn't allow # in strings (such as the password). strings. I haven't checked if \# works yet.
# cat /usr/local/etc/inadyn.conf
period = 86400
provider default@freedns.afraid.org {
username = alexstrange
password = <some base64>
hostname = { "<host>#<secret>" }
}
# inadyn -n
inadyn[70707]: In-a-dyn version 2.2 -- Dynamic DNS update client.
inadyn[70707]: /usr/local/etc/inadyn.conf:4: unexpected token '='
inadyn[70707]: Parse error in /usr/local/etc/inadyn.conf
inadyn[70707]: Error code 74: Missing .conf file
It seems to be upset about the password. I changed the conf to:
allow-ipv6 = true
provider default@freedns.afraid.org {
username = alexstrange
password = "<password>"
hostname = <host>#<secret>
}