[Pdns-users] pdns_server 2.9.20 FreeBSD ipv6 problem

Sten Spans sten at blinkenlights.nl
Thu Aug 24 21:31:26 UTC 2006


Powerdns authoritive has issues binding to ipv6 addresses
on freebsd, bind() returns EADDRNOTAVAIL.

This strace is done on a fresh freebsd 6.1 install, default
kernel, with pkg_add -r powerdns.

local-ipv6=::,::1
(using only ::1 doesn't work either)

socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 6
bind(6, {sa_family=AF_UNSPEC, sa_data="L\205;(L\205;(\300{;(Hs"}, 28) = 0
gettimeofday({1839999035, 1839999034}, NULL) = 0
write(2, ":(\354d:(\354d:(|g:(|g", 16Aug 24 23:13:20 )  = 16
write(2, "UDPv6 server bound to [::]:53", 29UDPv6 server bound to [::]:53) = 29
write(2, "\n", 1)                       = 1
gettimeofday({0, 0}, NULL)              = 0
getpid()                                = 913 (ppid 912)
sendto(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\21\0\0\0\340\202I(HSH"..., 60, 0, NULL, 0) = 60
socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 7
bind(7, {sa_family=AF_UNSPEC, sa_data="L\205;(L\205;(\300{;(Hs"}, 28) = -1 EADDRNOTAVAIL (Can't assign requested address)
gettimeofday({1839999035, 1839999034}, NULL) = 0
write(2, ":(\354d:(\354d:(|g:(|g", 16Aug 24 23:13:20 )  = 16
write(2, "binding to UDP ipv6 socket: Can\'"..., 58binding to UDP ipv6 
socket: Can't assign requested address) = 58

Please note that powerdns-recursor works just fine with ipv6 on freebsd.

-- 
Sten Spans

"There is a crack in everything, that's how the light gets in."
Leonard Cohen - Anthem


More information about the Pdns-users mailing list