1. Errors resolving the following references
- Posted by Thomas Sep 28, 2009
- 1170 views
When trying the following code with eui r2883 i get this
-- include std/net/dns.e object result result = dnsquery("yahoo.com",NS_T_MX,0)
mydns.exw:4 <0074>:: Errors resolving the following references: mydns.exw (4): dnsquery result = dnsquery("yahoo.com",NS_T_MX,0) ^
Am i doing somthing wrong or is it a bug?
~tj
2. Re: Errors resolving the following references
- Posted by jimcbrown (admin) Sep 28, 2009
- 1182 views
When trying the following code with eui r2883 i get this
-- include std/net/dns.e object result result = dnsquery("yahoo.com",NS_T_MX,0)
mydns.exw:4 <0074>:: Errors resolving the following references: mydns.exw (4): dnsquery result = dnsquery("yahoo.com",NS_T_MX,0) ^
Am i doing somthing wrong or is it a bug?
~tj
If that's the only error you get, it's pretty clear that this is a bug.
3. Re: Errors resolving the following references
- Posted by mattlewis (admin) Sep 28, 2009
- 1235 views
mydns.exw:4 <0074>:: Errors resolving the following references: mydns.exw (4): dnsquery result = dnsquery("yahoo.com",NS_T_MX,0) ^
Am i doing somthing wrong or is it a bug?
If you take a look at std/net/dns.e, you can see that dnsquery() (and, indeed, most of the file) has been commented out. Looking at the commit log for dns.e, I found this:
r1619 | jeremy_c | 2009-04-01 05:45:58 -0400 (Wed, 01 Apr 2009) | 6 lines * net/http.e and net/dns.e back to base functionality. dns.e has only gethostbyname and gethostbyaddr, however much more functional than previous implementations. http.e does have get_http_use_cookies commented out as it needs more work. * tests of dns/http are now functional again
I suspect there were some issues getting it to work in a cross platform way, though I haven't really worked on the network stuff, so I think we'll have to wait for Jeremy to comment. Also, the dns documentation omits any mention of dnsquery().
Matt
4. Re: Errors resolving the following references
- Posted by jimcbrown (admin) Sep 28, 2009
- 1169 views
mydns.exw:4 <0074>:: Errors resolving the following references: mydns.exw (4): dnsquery result = dnsquery("yahoo.com",NS_T_MX,0) ^
Am i doing somthing wrong or is it a bug?
If you take a look at std/net/dns.e, you can see that dnsquery() (and, indeed, most of the file) has been commented out.
Matt
Oops, I missed the comment.
5. Re: Errors resolving the following references
- Posted by jeremy (admin) Sep 28, 2009
- 1170 views
When trying the following code with eui r2883 i get this
-- include std/net/dns.e object result result = dnsquery("yahoo.com",NS_T_MX,0)
mydns.exw:4 <0074>:: Errors resolving the following references: mydns.exw (4): dnsquery result = dnsquery("yahoo.com",NS_T_MX,0) ^
Am i doing somthing wrong or is it a bug?
dnsquery doesn't exist. I think it's in the docs on accident. It was there before we did the port to C but has not been converted yet.
Jeremy
6. Re: Errors resolving the following references
- Posted by LarryMiller Sep 28, 2009
- 1151 views
dnsquery() does not exist, but host_by_name() and host_by_addr() do. At least they did as of r2857. They may serve your purposes.