access to DNS problem

Hi !
I have trouble with DNS accessing.
I created file resolv.conf such as:
--------- cut here -------------
nameserver X.X.X.X
lookup file bind

And now I see local names only (/etc/hosts)
If I try do something like:

ping remote.host.com

program hang-up.

If I change file resolv.conf:

lookup bind file

QNX hang-up at boot time, when ifconfig try determine localhost in
/etc/netstart file:

ifconfig lo0 localhost up

When I exchange lookup string on next:

lookup bind

My QNX can’t find local names, but finds all global ones.

If anyone had this trouble, please help me.

Thanks a lot before.

I don’t have any “lookup” line in my resolv.conf
RESOLV.CONF
domain company-name.com
nameserver 10.35.24.30
nameserver 10.35.24.31
HOSTS
127.1 localhost localhost.my.domain
10.35.29.185 node1
NETSTART

/usr/ucb/ifconfig en1 node$NODE up
/usr/ucb/ifconfig lo0 localhost up
/usr/ucb/route -n add default 10.35.29.190

I can ping MyWindowsPC.company-name.com
I can go on internet by using voyager
So when you say “My QNX can’t find local names, but finds all global ones.”,
where these local name are defined?
For us they are defined in our nameserver.

“Ustinov Pavel” <rotozoom@mail.ru> a écrit dans le message de news:
b3k99s$7jn$1@inn.qnx.com

Hi !
I have trouble with DNS accessing.
I created file resolv.conf such as:
--------- cut here -------------
nameserver X.X.X.X
lookup file bind

And now I see local names only (/etc/hosts)
If I try do something like:

ping remote.host.com

program hang-up.

If I change file resolv.conf:

lookup bind file

QNX hang-up at boot time, when ifconfig try determine localhost in
/etc/netstart file:

ifconfig lo0 localhost up

When I exchange lookup string on next:

lookup bind

My QNX can’t find local names, but finds all global ones.

If anyone had this trouble, please help me.

Thanks a lot before.

I don’t have any “lookup” line in my resolv.conf
RESOLV.CONF
domain company-name.com
nameserver 10.35.24.30
nameserver 10.35.24.31
HOSTS
127.1 localhost localhost.my.domain
10.35.29.185 node1
NETSTART

/usr/ucb/ifconfig en1 node$NODE up
/usr/ucb/ifconfig lo0 localhost up
/usr/ucb/route -n add default 10.35.29.190

I can ping MyWindowsPC.company-name.com
I can go on internet by using voyager
So when you say “My QNX can’t find local names, but finds all global
ones.”,
where these local name are defined?
For us they are defined in our nameserver.
All local names define in /etc/hosts.

I have reference in hosts file like that:

127.1 localhost localhost.mydomain.com
195.193.145.141 rotozoom localhost

and system hang-up in netstart on line:
/usr/ucb/ifconfig lo0 localhost up

I think QNX can’t find ‘localhost’ anywhere. So, where mistake here ?
THanx a lot

I’m not able to reproduce your bug.
To give you further help, I will need some files:
“pax -w -f /ipbug.tar /etc/config/sysinit.NODE /etc/config/tcpip.NODE
/etc/hosts /etc/resolv.conf /etc/netstart”
You can send “/ipbug.tar” directly to me if you want to keep it private.

Regards,
Denis

“Ustinov Pavel” <rotozoom@mail.ru> a écrit dans le message de news:
b3mjp8$rpr$1@inn.qnx.com

I don’t have any “lookup” line in my resolv.conf
RESOLV.CONF
domain company-name.com
nameserver 10.35.24.30
nameserver 10.35.24.31
HOSTS
127.1 localhost localhost.my.domain
10.35.29.185 node1
NETSTART

/usr/ucb/ifconfig en1 node$NODE up
/usr/ucb/ifconfig lo0 localhost up
/usr/ucb/route -n add default 10.35.29.190

I can ping MyWindowsPC.company-name.com
I can go on internet by using voyager
So when you say “My QNX can’t find local names, but finds all global
ones.”,
where these local name are defined?
For us they are defined in our nameserver.
All local names define in /etc/hosts.
I have reference in hosts file like that:

127.1 localhost localhost.mydomain.com
195.193.145.141 rotozoom localhost

and system hang-up in netstart on line:
/usr/ucb/ifconfig lo0 localhost up

I think QNX can’t find ‘localhost’ anywhere. So, where mistake here ?
THanx a lot