aescanero/helm-charts

failure on non IP V6 enabled host worker

Closed this issue · 2 comments

Hello,
im using the powerdns helm chart. The worker VM in my environment do not have IP V6 enabled

Im getting this errors:

 Jun 19 21:14:11 This is a guarded instance of pdns                                                                                                                                    │
│ Jun 19 21:14:11 UDP server bound to 0.0.0.0:53                                                                                                                                        │
│ Jun 19 21:14:11 IPv6 Address Family is not supported - skipping UDPv6 bind                                                                                                            │
│ Jun 19 21:14:11 TCP server bound to 0.0.0.0:53                                                                                                                                        │
│ Jun 19 21:14:11 Fatal error: Unable to acquire TCPv6 socket: Address family not supported by protocol                                                                                 │
│ Jun 19 21:14:12 Our pdns instance exited with code 1, respawning                                                                                                                      │
│ Jun 19 21:14:13 Guardian is launching an instance                                                                                                                                     │
│ Jun 19 21:14:13 Loading '/usr/lib/pdns/pdns/libgmysqlbackend.so'                                                                                                                      │
│ Jun 19 21:14:13 This is a guarded instance of pdns                                                                                                                                    │
│ Jun 19 21:14:13 UDP server bound to 0.0.0.0:53                                                                                                                                        │
│ Jun 19 21:14:13 IPv6 Address Family is not supported - skipping UDPv6 bind                                                                                                            │
│ Jun 19 21:14:13 TCP server bound to 0.0.0.0:53                                                                                                                                        │
│ Jun 19 21:14:13 Fatal error: Unable to acquire TCPv6 socket: Address family not supported by protocol                                                                                 │

Is there a way to limit powerdns 53 exposure on IP V4 only ?

Probably a problem with pschiffe/pdns-mysql, I'm checking this.

Chart updated to 0.1.7. Tested in EKS:

kubectl logs powerdns-release-56cbd58bbd-sk5sx -c powerdns-powerdns
Jun 21 11:46:43 Listening on controlsocket in '/var/run/pdns.controlsocket'
Jun 21 11:46:43 Guardian is launching an instance
Jun 21 11:46:43 Loading '/usr/lib/pdns/pdns/libgmysqlbackend.so'
Jun 21 11:46:43 This is a guarded instance of pdns
Jun 21 11:46:43 UDP server bound to 0.0.0.0:53
Jun 21 11:46:43 UDPv6 server bound to [::]:53
Jun 21 11:46:43 TCP server bound to 0.0.0.0:53
Jun 21 11:46:43 TCPv6 server bound to [::]:53
Jun 21 11:46:43 PowerDNS Authoritative Server 4.2.1 (C) 2001-2019 PowerDNS.COM BV
...

What have been the steps you have taken?