FS#62076 - [ddclient] builtin inet6 fuctions broken dnspark.com no longer functions

Attached to Project: Community Packages
Opened by Thomas Merrill (Saberwolf) - Tuesday, 19 March 2019, 15:02 GMT
Last edited by Toolybird (Toolybird) - Friday, 21 April 2023, 02:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Johannes Löthberg (demize)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

so i was having issues getting ddclient to update the ipv6 address to support AAAA records so i did some diging around the command options and found a ddclient --query it fails to find the dnspark.com address for some of the functionality for ddclient i do have the current version of inet Perl installed under arch Linux running 5.0.0 Linux kernel just try to do a new install of arch linux and install ddclient and ipv6 functions with Dhcpcd it can never automatic ly find ipv4 address or ipv6 address but if you run the -cmd option with 'ip -6 a show dev enp30s3' --query < this being the nic i can get a ipv6 functions to work but any of the automatic one built into the perl software are currently broken

i have uploaded a copy of my config and nuterd the specif uname and password and my url but they config is how it is working and will post AAAA records to domains.google.com

i am not sending any log files because you just do pacman ddclient and do the default install of package and i modified the config as is to check for errors do a ddclient --query with the base install and you will have warnings about pre built functions in ddclient i also provided you a fix that is working above

Additional info:
* package version(s) = 3.9.0-3
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

do a base install of ddclient by running pacman -S ddclient do the default options
run ddclient --query and it spits out this
ddclient --query

WARNING: file /etc/ddclient/ddclient.conf: Cannot open file '/etc/ddclient/ddclient.conf'. (Permission denied)
stat() on closed filehandle FD at /usr/bin/ddclient line 1117.
Use of uninitialized value $mode in bitwise and (&) at /usr/bin/ddclient line 1118.
readline() on closed filehandle FD at /usr/bin/ddclient line 1130.
use=if, if=enp0s3 address is 192.168.2.50
use=if, if=lo address is 127.0.0.1
WARNING: cannot connect to ipdetect.dnspark.com:80 socket: IO::Socket::INET: Bad hostname 'ipdetect.dnspark.com'
WARNING: found neither ipv4 nor ipv6 address
use=web, web=dnspark address is NOT FOUND

sudo ddclient --query spits out this after i have made changes to config

use=if, if=enp0s3 address is 192.168.2.50
use=if, if=lo address is 127.0.0.1
WARNING: cannot connect to ipdetect.dnspark.com:80 socket: IO::Socket::INET: Bad hostname 'ipdetect.dnspark.com'
WARNING: found neither ipv4 nor ipv6 address
use=web, web=dnspark address is NOT FOUND
use=web, web=dyndns address is 172."i removed"
use=web, web=loopia address is 172."i removed"
use=cmd, cmd=ip -6 a show dev enp0s3 address is 2600:6c4e:"i removed the rest of my ip address "

as you can see we are having issues getting multiple ipaddress from my enp0s3 nic directly it will only show ipv4 address but if i pass the option command -cmd either in the config or in the command line it will spit out the correct ipv6 address with out some of the supported perl functions working


This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 21 April 2023, 02:57 GMT
Reason for closing:  None
Additional comments about closing:  Old and stale. Assuming fixed. Please let us know if it's still an issue.

Loading...