Re: [fpc-pascal] unit inet... for resolving dns

2006-12-17 Thread lionel
ok i missed some thing RFC 1912 Common DNS Errors February 1996 Make sure your PTR and A records match. For every IP address, there should be a matching PTR record in the in-addr.arpa domain. If a host is multi-homed, (more than one IP address) make su

Re: [fpc-pascal] unit inet... for resolving dns

2006-12-15 Thread Lionel Drevon
ok after a long read inside the rfc actually it seem that http://tools.ietf.org/html/rfc2317 the rfc 2317 specify that the in-addr.arpa can be a CNAME in case of Classless IN-ADDR.ARPA delegation. less than a /24 so the answer could be a CNAME not only a PTR. I need to correct the Function

Re: [fpc-pascal] unit inet... for resolving dns

2006-12-15 Thread Lionel Drevon
Nice i try the netbd but i found a "bug",i use the testdns.pp provide in the directory of netbd. hostAddrtostr('www.adeli.fr') give the good 195.167.230.4 answer. but the H:=StrtoHostAddr('195.167.230.4'); L:=ResolveAddress(H,NAns); give me 0 result ! i notice that the result for this is pr

Re: [fpc-pascal] unit inet... for resolving dns

2006-12-14 Thread Michael Van Canneyt
On Thu, 14 Dec 2006, Lionel Drevon wrote: > I found in the doc the inet unit, but i don't found it under my system nor on > the web > on page http://www.freepascal.org/packages/inet.html > the link ftp://ftp.freepascal.org/pub/fpc/source/packages.zip seem to be > broken! Try the netdb or resolv

[fpc-pascal] unit inet... for resolving dns

2006-12-14 Thread Lionel Drevon
I found in the doc the inet unit, but i don't found it under my system nor on the web on page http://www.freepascal.org/packages/inet.html the link ftp://ftp.freepascal.org/pub/fpc/source/packages.zip seem to be broken! I need to resolv dns entry and i try the synapsys and the NS_Protokoll wh