NSLOOKUP not using proper DNS

NSLOOKUP not using proper DNS

Post by gnichol » Fri, 11 Feb 2005 01:31:38


When I use NSLOOKUP it is not using the domain name server that I
entered in the RESLVCNF.NET.SYS file. I can't get the spooler to find
a network printer defined in NPCONFIG. How do I get the domain name
service working?
 
 
 

NSLOOKUP not using proper DNS

Post by J Dollive » Fri, 11 Feb 2005 02:31:21


* To join/leave the list, search archives, change list settings, *
* etc., please visit http://www.yqcomputer.com/ *

 
 
 

NSLOOKUP not using proper DNS

Post by James Hofm » Fri, 11 Feb 2005 03:01:20

Hello All,

RE: NSLOOKUP not using proper DNS

Mine sure does... I have 1 primary and 3 backup name servers configured in
RESLVCNF.net.sys.

I performed a lookup on an existing as well as a non-existing node name and
got the response that the name server address was the first (primary) in my
list of "nameserver" entries in RESLVCNF.

I then modified RESLVCNF.net.sys and placed a "#" commenting out my first
(primary) "nameserver" entry and re-ran the test.

The result is the now new top of the list "nameserver" entry in RESLVCNF was
used.

Note: The copy of RESLVCNF that you should be using is
NSLOOKUP.PUBXL.TELESUP which executes /BIND/PUB/bin/nslookup.

Regards,

James Hofmeister
Email: <first>.<last>@hp.com
Hewlett Packard - Global Solutions Engineering (WTEC)
P.S. My Ideals are my own, not necessarily my employers.


----- Original Message -----
From: "Gibson Nichols" < XXXX@XXXXX.COM >
To: < XXXX@XXXXX.COM >
Sent: Wednesday, February 09, 2005 11:47 AM
Subject: [HP3000-L] NSLOOKUP not using proper DNS



* To join/leave the list, search archives, change list settings, *
* etc., please visit http://www.yqcomputer.com/ *
 
 
 

NSLOOKUP not using proper DNS

Post by Ritenour, » Fri, 11 Feb 2005 03:46:21

My reslvcnf.net.sys is working just fine. I'm am now using names instead of
IP's in npconfig and have experienced no problems. Here are keyword entries in
my reslvcnf file:

Domain
Nameserver
Nameserver
Nameserver
Search

In that order and I too will go from my 1st nameserver to the 2nd when I comment
out the 1st.

Steve

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://www.yqcomputer.com/ *
 
 
 

NSLOOKUP not using proper DNS

Post by gnichol » Fri, 11 Feb 2005 03:48:35

Thanks for all of the help. I got an email that resolved the problem.
I copied the contents of the RESLVCNF file to /etc/resolv.conf - that
did it.
 
 
 

NSLOOKUP not using proper DNS

Post by Denis St-A » Fri, 11 Feb 2005 04:02:40

Gibson,

Could it be possible NSSWITCH.NET.SYS is configured to use HOSTS.NET.SYS
first and then DNS lookup to resolve names ? If so, does printer name/IP
show in HOSTS.NET.SYS ? Removing it from there might force system to use
DNS only to resolve name to IP address..

Hope this will help !

--
==============
Denis St-Amand
(remove removeit from email address)
 
 
 

NSLOOKUP not using proper DNS

Post by Denys Beau » Fri, 11 Feb 2005 04:16:22

It looks like you might not have had a symbolic link setup properly.
Perhaps the /etc/resolv.conf should have pointed to /SYS/NET/RESLVCNF.

Denys

-----Original Message-----
From: HP-3000 Systems Discussion [mailto: XXXX@XXXXX.COM ] On Behalf
Of Gibson Nichols
Sent: Wednesday, February 09, 2005 1:02 PM
To: XXXX@XXXXX.COM
Subject: Re: [HP3000-L] NSLOOKUP not using proper DNS

Thanks for all of the help. I got an email that resolved the problem.
I copied the contents of the RESLVCNF file to /etc/resolv.conf - that
did it.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://www.yqcomputer.com/ *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://www.yqcomputer.com/ *
 
 
 

NSLOOKUP not using proper DNS

Post by James Hofm » Fri, 11 Feb 2005 05:16:21

Hello All,


As far as I can tell the link from /etc/resolv.conf to RESLVCNF.NET.SYS was
included with the operating system (FOS) and is not something I ever
remember creating. I can not find reference to creating this link in the
manual set either.

The intent for RESLVCNF and the other network configuration files is to be
edited in the MPE environment with EDITOR and linked to in the POSIX
environment as is the case with the SERVICES, PROTOCOL, INETDCNF, INETDSEC
and BOOTPTAB files.

I would suggest: :newlink /etc/resolv.conf,/SYS/NET/RESLVCNF

Regards,

James Hofmeister
Email: <first>.<last>@hp.com
Hewlett Packard - Global Solutions Engineering (WTEC)
P.S. My Ideals are my own, not necessarily my employers.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://www.yqcomputer.com/ *
 
 
 

NSLOOKUP not using proper DNS

Post by Denys Beau » Fri, 11 Feb 2005 05:31:20

I believe you are correct. I do not remember creating it either, but in
this case. It looks like it was wiped out somehow. This is easy to do as
it's just another file, isn't it? One can quickly verify the existence of
the file and its proper contents by doing:

:LISTFILE /etc/resolv.conf,5

At the bottom, the target should be displayed.

********************
FILE: /etc/resolv.conf

FILE CODE : 0 FOPTIONS: ASCII,BYTESTREAM,NOCCTL,SYMLINK
BLK FACTOR: 1 OWNER : **
REC SIZE: 1(BYTES) GROUP ID: **
BLK SIZE: 1(BYTES) SECURITY--READ :
EXT SIZE: 0(SECT) WRITE :
NUM REC: 17 APPEND :
NUM SEC: 16 LOCK :
NUM EXT: 1 EXECUTE :
MAX REC: 1024 **SECURITY IS ON
FLAGS : NO ACCESSORS
NUM LABELS: 0 CREATED : MON, SEP 10, 2001, 1:53 PM
MAX LABELS: 0 MODIFIED: MON, SEP 10, 2001, 1:53 PM
DISC DEV #: 3 ACCESSED: MON, SEP 10, 2001, 1:53 PM
SEC OFFSET: 0 LABEL ADDR: **
VOLCLASS : MPEXL_SYSTEM_VOLUME_SET:DISC

SYMLINK TARGET: /SYS/NET/RESLVCNF
:

Then to make sure all is as it should be:

:PRINT /etc/resolv.conf

And out should pop the contents of RESLVCNF.NET.SYS


Denys

-----Original Message-----
From: HP-3000 Systems Discussion [mailto: XXXX@XXXXX.COM ] On Behalf
Of James Hofmeister
Sent: Wednesday, February 09, 2005 2:04 PM
To: XXXX@XXXXX.COM
Subject: [HP3000-L] NSLOOKUP not using proper DNS

Hello All,


As far as I can tell the link from /etc/resolv.conf to RESLVCNF.NET.SYS was
included with the operating system (FOS) and is not something I ever
remember creating. I can not find reference to creating this link in the
manual set either.

The intent for RESLVCNF and the other network configuration files is to be
edited in the MPE environment with EDITOR and linked to in the POSIX
environment as is the case with the SERVICES, PROTOCOL, INETDCNF, INETDSEC
and BOOTPTAB files.

I would suggest: :newlink /etc/resolv.conf,/SYS/NET/RESLVCNF

Regards,

James Hofmeister
Email: <first>.<last>@hp.com
Hewlett Packard - Global Solutions Engineering (WTEC)
P.S. My Ideals are my own, not necessarily my employers.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://www.yqcomputer.com/ *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://www.yqcomputer.com/ *