Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - what binaries are required for domain name resolution: (5 Items)
   
what binaries are required for domain name resolution  
Hi,

With io-pkt-v4 and dhcp.client to get an IP address, what additional binaries are needed so that domain name lookups 
succeed?

e.g.

# ping foo
ping: Cannot resolve "foo" (Host name lookup failure)

When I mount the HDD with my SDP install the look up succeeds, so it appears a binary is needed, but I'm not sure which 
one.

-asherk
Re: what binaries are required for domain name resolution  
The resolver library is part of libsocket, so if ping
runs at all you have it.  Check out the docs for /etc/resolv.conf.

Regards,

-seanb

On Wed, Apr 04, 2012 at 11:06:37AM -0400, Andrew Sherk wrote:
> Hi,
> 
> With io-pkt-v4 and dhcp.client to get an IP address, what additional binaries are needed so that domain name lookups 
succeed?
> 
> e.g.
> 
> # ping foo
> ping: Cannot resolve "foo" (Host name lookup failure)
> 
> When I mount the HDD with my SDP install the look up succeeds, so it appears a binary is needed, but I'm not sure 
which one.
> 
> -asherk
> 
> 
> 
> _______________________________________________
> 
> Technology
> http://community.qnx.com/sf/go/post92454
> 
Re: what binaries are required for domain name resolution  
I think that you need to have a writeable /etc/resolv.conf file.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-04-04 11:06 AM, "Andrew Sherk" <community-noreply@qnx.com> wrote:

>Hi,
>
>With io-pkt-v4 and dhcp.client to get an IP address, what additional
>binaries are needed so that domain name lookups succeed?
>
>e.g.
>
># ping foo
>ping: Cannot resolve "foo" (Host name lookup failure)
>
>When I mount the HDD with my SDP install the look up succeeds, so it
>appears a binary is needed, but I'm not sure which one.
>
>-asherk
>
>
>
>_______________________________________________
>
>Technology
>http://community.qnx.com/sf/go/post92454
>
RE: what binaries are required for domain name resolution  
Thanks all for the suggestions.  The /etc/resolv.conf doc mentions dhcp.client, and 'use dhcp.client' describes the '-m'
 option:

-m           Write resolv.conf data as in-memory configuration strings
              (Neutrino only, default is off)

Using dhcp.client -m seems to do the trick when /etc/resolv.conf isn't available.

-asherk

-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: Wednesday, April 04, 2012 11:11 AM
To: technology-networking
Subject: Re: what binaries are required for domain name resolution

I think that you need to have a writeable /etc/resolv.conf file.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-04-04 11:06 AM, "Andrew Sherk" <community-noreply@qnx.com> wrote:

>Hi,
>
>With io-pkt-v4 and dhcp.client to get an IP address, what additional
>binaries are needed so that domain name lookups succeed?
>
>e.g.
>
># ping foo
>ping: Cannot resolve "foo" (Host name lookup failure)
>
>When I mount the HDD with my SDP install the look up succeeds, so it
>appears a binary is needed, but I'm not sure which one.
>
>-asherk
>
>
>
>_______________________________________________
>
>Technology
>http://community.qnx.com/sf/go/post92454
>




_______________________________________________

Technology
http://community.qnx.com/sf/go/post92456
AW: what binaries are required for domain name resolution  
Pidin mem from ok system and not ok system as starting point + /etc/hosts config file. 

Perhaps?

J. From BB.

----- Originalnachricht -----
Von: Andrew Sherk [mailto:community-noreply@qnx.com]
Gesendet: Wednesday, April 04, 2012 11:06 AM
An: technology-networking <post92454@community.qnx.com>
Betreff: what binaries are required for domain name resolution

Hi,

With io-pkt-v4 and dhcp.client to get an IP address, what additional binaries are needed so that domain name lookups 
succeed?

e.g.

# ping foo
ping: Cannot resolve "foo" (Host name lookup failure)

When I mount the HDD with my SDP install the look up succeeds, so it appears a binary is needed, but I'm not sure which 
one.

-asherk



_______________________________________________

Technology
http://community.qnx.com/sf/go/post92454