<div dir="ltr"><div>Hi,</div><div><br></div><div>I have configuration, which is sending log messages to a remote hostname (dns6server). The particularity of this remote server is that it is resolved to an IPv6 address.</div><div><br></div><div>ping works fine:</div><div><span style="font-family:monospace">root@localhost:~# ping dns6server -c 3<br>PING dns6server(2620:38:4::8:4000:238) 56 data bytes<br>64 bytes from 2620:38:4::8:4000:238: icmp_seq=1 ttl=63 time=0.354 ms<br>64 bytes from 2620:38:4::8:4000:238: icmp_seq=2 ttl=63 time=0.264 ms<br>64 bytes from 2620:38:4::8:4000:238: icmp_seq=3 ttl=63 time=0.310 ms</span></div><div><br></div><div>But syslog-ng seems not to be able to resolve the ipv6 address:</div><div>


















<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span style="font-family:monospace"><font size="2"><span>Aug 27
20:58:37 localhost systemd[1]: mgmt-syslog-ng.service: Succeeded.<span></span></span></font></span></p><span style="font-family:monospace"><font size="2">

</font></span><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span style="font-family:monospace"><font size="2"><span>Aug 27
20:58:37 localhost systemd[1]: Stopped External Logger Daemon.<span></span></span></font></span></p><span style="font-family:monospace"><font size="2">

</font></span><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span style="font-family:monospace"><font size="2"><span>Aug 27
20:58:37 localhost systemd[1]: Starting External Logger Daemon...<span></span></span></font></span></p><span style="font-family:monospace"><font size="2">

</font></span><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span style="font-family:monospace"><font size="2"><span>Aug 27
20:58:37 localhost ip[32709]: [2020-08-27T20:58:37.841389] WARNING: With
use-dns(no), dns-cache() will be forced to 'no' too!;<span></span></span></font></span></p><span style="font-family:monospace"><font size="2">

</font></span><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span style="font-family:monospace"><font size="2"><span>Aug 27
20:58:46 localhost ip[32709]: [2020-08-27T20:58:46.854714] Error resolving
hostname; host='dns6server'<span></span></span></font></span></p><span style="font-family:monospace"><font size="2">

</font></span><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span style="font-family:monospace"><font size="2"><span>Aug 27
20:58:46 localhost ip[32709]: [2020-08-27T20:58:46.854758] Initiating
connection failed, reconnecting; time_reopen='60'<span></span></span></font></span></p><span style="font-family:monospace"><font size="2">

</font></span><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt"><span style="font-family:monospace"><span style="font-size:8pt"><font size="2">Aug 27
20:58:46 localhost systemd[1]: Started External Logger Daemon.</font></span></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif"><span style="font-size:8pt;font-family:Consolas"><font size="2"><span style="font-family:arial,sans-serif"><br></span></font></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif"><span style="font-size:8pt;font-family:Consolas"><font size="2"><span style="font-family:arial,sans-serif">Any Ideas?<br></span></font></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif"><span style="font-size:8pt;font-family:Consolas"><font size="2"><span style="font-family:arial,sans-serif"><br></span></font></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif"><span style="font-size:8pt;font-family:Consolas"><font size="2"><span style="font-family:arial,sans-serif">I am sending the configuration and debug log in attachment.<br></span></font></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif"><span style="font-size:8pt;font-family:Consolas"><font size="2"><span style="font-family:arial,sans-serif"><br></span></font></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif"><span style="font-size:8pt;font-family:Consolas"><font size="2"><span style="font-family:arial,sans-serif">Thanks in Advance,</span></font></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif"><span style="font-size:8pt;font-family:Consolas"><font size="2"><span style="font-family:arial,sans-serif">Alex<br></span></font></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif"><span style="font-size:8pt;font-family:Consolas"><font size="2"><span style="font-family:arial,sans-serif"></span></font><span></span></span></p>





</div></div>