[uClibc] Postfix & uClibc -> Malformed name server response..
J.A.J. van Belkum
aukjan at gfo.nl
Tue Aug 10 11:32:18 UTC 2004
Hello,
I am still breaking my head over this... ( see: [uClibc] Postfix & uClibc -> __res_search problem ).
Postfix is still complaning about a Malformed response from name server, when the smtp service is
spawned. All the dns lookups seem to go normally, as checked with ethereal and tcpdump. Below is a
part of an strace, which shows the query of the nameserver, which seems to return a valid response....
read(11, "# /etc/services:\n# $Id: services"..., 4096) = 4096
close(11) = 0
open("/etc/resolv.conf", O_RDONLY) = 11
ioctl(11, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fffe460) = -1 ENOTTY (Inappropriate ioctl for device)
read(11, "nameserver 10.100.4.1\n", 4096) = 22
read(11, "", 4096) = 0
close(11) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 11
connect(11, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("10.100.4.1")}, 16) = 0
send(11, "\0\2\1\0\0\1\0\0\0\0\0\0\tvanbelkum\2nl\0\0\17\0\1", 30, 0) = 30
select(12, [11], NULL, NULL, {10, 0}) = 1 (in [11], left {10, 0})
recv(11, "\0\2\201\200\0\1\0\2\0\3\0\2\tvanbelkum\2nl\0\0\17\0\1"..., 512, 0) = 176
close(11) = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 11
fcntl(11, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(11, F_SETFL, O_RDWR) = 0
connect(11, {sa_family=AF_UNIX, path="private/defer"}, 110) = 0
time(NULL) = 1092126712
brk(0x8076000) = 0x8076000
time(NULL) = 1092126712
select(12, NULL, [11], [11], {3600, 0}) = 1 (out [11], left {3600, 0})
The only strange thing I see is:
ioctl(11, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fffe460) = -1 ENOTTY (Inappropriate ioctl for device)
But this doesn't seem to have anything to do with the resolvins, since the nameserver is read and
used normally....
I really don't know where to look next... Does anyone have a hint... ?
Aukjan
More information about the uClibc
mailing list