nameserver problem, please help!!

when running dhcp.client, it puts nameserver’s ip addresss into
/etc/resolv.conf, so it knows to resolve hostnames using that ip address.

but if dhcp.client is not running, and machine’s ip address is configured
using ‘ifconfig ...’, it doesn’t know how to resolve hostnames,
what should I do?? please help!!

i just found out that if ‘ifconfig’ is used, user have to modify
/etc/resolv.conf.

but I have this problem that if /etc/resolv.conf contains incorrect
nameserver ipaddress, dhcp.client doesnt rewrite it with new information.
is there a way to force dhcp.client update this file?


“Ran Zhang” <rzhang@vamcointernational.com> wrote in message
news:ctdhvs$8pd$1@inn.qnx.com

when running dhcp.client, it puts nameserver’s ip addresss into
/etc/resolv.conf, so it knows to resolve hostnames using that ip address.

but if dhcp.client is not running, and machine’s ip address is configured
using ‘ifconfig ...’, it doesn’t know how to resolve hostnames,
what should I do?? please help!!