Re: Dnsserver problem on STABLE5 ?

From: Charles Bruneteau <charles.bruneteau.sysicom@dont-contact.us>
Date: Wed, 13 Oct 1999 19:10:49 +0200

Charles Bruneteau wrote:
>
> hi,
>
> it seems that since i move to 2.2STABLE5 my proxies can resolve only FQDN :
>
> here is a trace of a dnsserver process when trying to acces the url
> 'http://server01' :
>
> ++++++++++
> read(0, "server01\n", 1024) = 9
> open("/etc/hosts", O_RDONLY) = 3
> fcntl(3, F_GETFD) = 0
> fcntl(3, F_SETFD, FD_CLOEXEC) = 0
> fstat(3, {st_mode=0, st_size=0, ...}) = 0
> mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0x4000d000
> read(3, "127.0.0.1\tlocalhost\tlocalhost."..., 4096) = 86
> read(3, "", 4096) = 0
> close(3) = 0
> munmap(0x4000d000, 4096) = 0
> uname({sys="Linux", node="proxy1", ...}) = 0
> socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
> connect(3, {sin_family=AF_INET, sin_port=htons(53),
> sin_addr=inet_addr("1.2.3.4")}
> , 16) = 0
> send(3, "U4\1\0\0\1\0\0\0\0\0\0\10server01"..., 26, 0) = 26
> select(4, [3], NULL, NULL, {5, 0}) = 1 (in [3], left {4, 990000})
> recvfrom(3, "U4\205\203\0\1\0\0\0\1\0\0\10ser"..., 1024, 0, {sin_family=AF_INET,
> sin_por
> t=htons(53), sin_addr=inet_addr("1.2.3.4")}, [16]) = 93
> close(3) = 0
> write(1, "$fail DNS Domain \'server01\' is"..., 72) = 72
> +++++++++++
>
> of course 1.2.3.4 is not the real IP address of the dns server...
>
> from the proxy i can ping server01, nslookup it, etc.
>
> The domain of server1 is listed in /etc/resolv.conf (domain or search command
> line).
>
> I have the problem with proxies on linux 2.0.36 and solaris 2.6
>

New data :

* 2.2STABLE4 on linux 2/0/36 :
----------------------------
#./dnsserver
server01
$addr 0 3.3.3.3

so it works

* 2.2STABLE5 on same machine
----------------------------
# ./dnsserver
server01
$fail DNS Domain 'server01' is invalid: Host not found (authoritative).

doesn't work, but:

#./dnsserver -D
server01
$addr 0 3.3.3.3

So it seems that that something change ...
Received on Wed Oct 13 1999 - 11:23:16 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:48 MST