[En-Nut-Discussion] NutDnsGetHostByName doesn't work

Mikael Ejberg Pedersen mikael at ejberg.dk
Sun Nov 24 22:37:45 CET 2002


Hi all.

I am trying to make a DNS lookup with the NutDnsGetHostByName
function, but it doesn't work. It always returns 0.

If someone knows something about DNS, and can see anything unusual in
the following debug dump, then please help me.

MailChecker 0.01
Configuring Ethernet interface
Got IP 192.168.22.221
Connecting to mail.tiscali.dk
DNS get host mail.tiscali.dk
HEADER: id=1 flg=0100 #q=1 #an=0 #au=0 #ad=0
QUESTION: name='mail.tiscali.dk' type=1 class=1
HEADER: id=1 flg=8180 #q=1 #an=2 #au=2 #ad=0
QUESTION: name='mail.tiscali.dk' type=1 class=1
RESOURCE: name='(NULL)' type=5 class=1 ttl=498 len=9 06 63 70 6D 61 69
6C C0 11
HEADER: id=2 flg=0100 #q=1 #an=2 #au=2 #ad=0
QUESTION: name='mail.tiscali.dk' type=1 class=1
HEADER: id=2 flg=8101 #q=1 #an=0 #au=0 #ad=0
QUESTION: name='mail.tiscali.dk' type=1 class=1
...failed
Connect failed
Idle...


Best regards,
Mikael

-- 
Mikael Ejberg Pedersen



More information about the En-Nut-Discussion mailing list