Bugzilla – Full Text Bug Listing |
Summary: | can't enable interface-automatic if no IPv6 | ||
---|---|---|---|
Product: | unbound | Reporter: | lenovo_me |
Component: | server | Assignee: | unbound team <unbound-team> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | cathya, wouter |
Priority: | P5 | ||
Version: | 1.6.0 | ||
Hardware: | x86_64 | ||
OS: | Windows |
Description
lenovo_me
2017-01-25 17:16:44 CET
Hi, Have you tried setting do-ip6: no in unbound.conf ? Best regards, Wouter it works after setting do-ip6: no sorry, it don't work and unbound exit when i do a query level 5 log: 2017/1/26 19:03:21 unbound.exe[4224:0] debug: module config: "validator iterator" 2017/1/26 19:03:21 unbound.exe[4224:0] notice: init module 0: validator 2017/1/26 19:03:21 unbound.exe[4224:0] debug: validator nsec3cfg keysz 1024 mxiter 150 2017/1/26 19:03:21 unbound.exe[4224:0] debug: validator nsec3cfg keysz 2048 mxiter 500 2017/1/26 19:03:21 unbound.exe[4224:0] debug: validator nsec3cfg keysz 4096 mxiter 2500 2017/1/26 19:03:21 unbound.exe[4224:0] notice: init module 1: iterator 2017/1/26 19:03:21 unbound.exe[4224:0] debug: target fetch policy for level 0 is 3 2017/1/26 19:03:21 unbound.exe[4224:0] debug: target fetch policy for level 1 is 2 2017/1/26 19:03:21 unbound.exe[4224:0] debug: target fetch policy for level 2 is 1 2017/1/26 19:03:21 unbound.exe[4224:0] debug: target fetch policy for level 3 is 0 2017/1/26 19:03:21 unbound.exe[4224:0] debug: target fetch policy for level 4 is 0 2017/1/26 19:03:22 unbound.exe[4224:0] debug: total of 59493 outgoing ports available 2017/1/26 19:03:22 unbound.exe[4224:0] debug: tube created 2017/1/26 19:03:22 unbound.exe[4224:0] debug: start threads 2017/1/26 19:03:22 unbound.exe[4224:0] debug: winsock_event inited 2017/1/26 19:03:22 unbound.exe[4224:0] debug: event winsock user WSAWaitForMultipleEvents method. 2017/1/26 19:03:22 unbound.exe[4224:0] debug: event_add 031C2898 added=0 fd=288 tv=-1 EV_READ 2017/1/26 19:03:22 unbound.exe[4224:0] debug: event_add 031C2FD0 added=0 fd=284 tv=-1 EV_READ 2017/1/26 19:03:22 unbound.exe[4224:0] debug: Forward zone server list: 2017/1/26 19:03:22 unbound.exe[4224:0] info: DelegationPoint<.>: 0 names (0 missing), 1 addrs (0 result, 1 avail) parentNS 2017/1/26 19:03:22 unbound.exe[4224:0] debug: ip4 127.0.0.1 port 9103 (len 16) 2017/1/26 19:03:22 unbound.exe[4224:0] debug: no config, using builtin root hints. 2017/1/26 19:03:22 unbound.exe[4224:0] debug: cache memory msg=33040 rrset=33040 infra=1320 val=33156 2017/1/26 19:03:22 unbound.exe[4224:0] debug: set statistics interval 3600 secs 2017/1/26 19:03:22 unbound.exe[4224:0] debug: event_add 015A2E90 added=0 fd=-1 tv=3600000 EV_TIMEOUT 2017/1/26 19:03:22 unbound.exe[4224:0] info: start of service (unbound 1.6.0). 2017/1/26 19:03:22 unbound.exe[4224:0] debug: winsock_event handle_timeouts 2017/1/26 19:03:22 unbound.exe[4224:0] debug: winsock_event wait=3599.998998 2017/1/26 19:03:22 unbound.exe[4224:0] debug: winsock_event handle_select 2017/1/26 19:03:22 unbound.exe[4224:0] debug: winsock_event bmax=3 numwait=3 wait=<wait> timeout=3599998 2017/1/26 19:03:43 unbound.exe[4224:0] debug: winsock_event wake was_timeout=0 startidx=1 2017/1/26 19:03:43 unbound.exe[4224:0] debug: winsock_event signals 2017/1/26 19:03:43 unbound.exe[4224:0] debug: winsock_event net 2017/1/26 19:03:43 unbound.exe[4224:0] debug: winsock event callback 031C2FD0 fd=284 FD_READ ; EV_READ 2017/1/26 19:03:43 unbound.exe[4224:0] fatal error: recvmsg: No support for IPV6_PKTINFO. Please disable interface-automatic Hi, I have changed the error message printouts. They now suggest turning off do-ip6 for some cases and in this case print all the other options that your OS is not supporting. The error is not about ipv6, there is no support for the interface-automatic option. Your OS does not support the options unbound uses for it. (use recent Linux kernel, for example, to get it). Best regards, Wouter Hi, Yes, your are running windows and the socket options unbound uses are not supported there. This is why in that #else branch in the code it prints this statement. And exits unbound, because it cannot receive packets any more ... Maybe if you run unbound under the OpenSuse personality of Windows it'll support these socket options? I have no idea if that is even possible; you probably would need to recompile for OpenSuse. Best regards, Wouter ok, i will disable it on windows thanks |