I'm having a problem -- some console applications that have socket communication (at least nslookup, dig and rndc, but not named-checkconf) do not write any interesting output.

Example:


r...@router:/opt/bin# ./nslookup isc.org

Non-authoritative answer:


r...@router:/opt/bin# ./dig isc.org

; <<>> DiG 9.7.2-P2 <<>> isc.org
;; global options: +cmd


And that's it. An strace shows:

...
recvmsg(20, {msg_name(16)={sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.1")}, msg_iov(1)=[{"\246\321\201\200\0\1\0\1\0\4\0\10\3isc\3org\0\0\1\0\1\300\f\0\1\0\1\0\0"..., 65535}], msg_controllen=20, {cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=0x1d /* SCM_??? */, ...}, msg_flags=0}, 0) = 316
write(1, "\n"..., 1
)                    = 1
write(1, "Non-authoritative answer:\n"..., 26Non-authoritative answer:
) = 26
close(20)                               = 0
getpid()                                = 3711
kill(3711, SIGTERM)                     = 0
--- SIGTERM (Terminated) @ 0 (0) ---
sigreturn(sigreturn: PTRACE_GETREGS : Input/output error
sigreturn: PTRACE_GETREGS : Input/output error
)                             = 0
write(1, "\n"..., 1
)                    = 1
gettimeofday({720158584, 0}, NULL)      = 0
gettimeofday({720266528, 720076184}, NULL) = 0
munmap(0x2b230000, 266240)              = 0
exit(0)                                 = ?

The configure line was:

./configure --host=mipsel-linux --target=mipsel-linux --prefix=/opt --with-openssl=/opt --with-libxml2=/opt --enable-ipv6 --enable-epoll=no --with-randomdev=/dev/random

Any help would be appreciated.

Thanks

--
Gustavo Lopes
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to