Solaris10 sparc nslookup error


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris10 sparc nslookup error
# 1  
Old 09-21-2012
Solaris10 sparc nslookup error

Hi Experts,

While trying to query nameserver using nslookup it is giving following error.

root@prod # nslookup 10.1.61.21

** server can't find 26.61.1.10.in-addr.arpa.: NXDOMAIN
root@prod #

(1)
/etc/hosts
10.1.61.2 prod

(2)I also added domain and namservers accordingly in /etc/resolv.conf

Apart from above two mentioned, are there any configurations that needs to made in order to resolve above error?

Thanks in Advance for your help!!
# 2  
Old 09-21-2012
Sounds like you could possibly not have a reverse DNS pointer setup on your DNS server to match an IP Address to a hostname.
# 3  
Old 09-21-2012
Odd that the IP address you give doesn't match that returned. Is ther returned address your DNS server perhaps? You may need a reverse entry for that too.

Can you confirm the content of /etc/netsvc.conf and /etc/resolv.conf or /etc/nsswitch.conf please (not sure which it is on Solaris), taking out anything company sensitive, naturally.




Robin
Liverpool/Blackburn
UK
# 4  
Old 09-21-2012
Thanks for the reply guys..

Yes,nslookup is returning different IP address than given and it is not even DNS server address.

Here is the content of the config files...

Code:

Code:
root@prod # ls -ltr /etc/netsvc.conf
/etc/netsvc.conf: No such file or directory
root@prod #
 
root@prod # more /etc/resolv.conf
domain <company domain name>
nameserver <IP of name server1> 
nameserver <IP of name server2>
nameserver <IP of name server3>
root@prod #
 
root@prod # more /etc/nsswitch.conf
passwd:     files
group:      files
hosts:     files dns
ipnode:   files dns
networks:   files
protocols:  files
rpc:        files
ethers:     files
netmasks:   files
bootparams: files
publickey:  files
netgroup:   files
automount:  files
aliases:    files
services:   files
printers:       user files
auth_attr:  files
prof_attr:  files
project:    files
tnrhtp:     files
tnrhdb:     files
root@prod #

# 5  
Old 09-22-2012
Please populate the /etc/resolv.conf with the ipaddress and the name and try it.
# 6  
Old 09-23-2012
Hi,

/etc/resolv.conf is already populated with required IP address,I have removed those IPs in the above post as those IPs are company specific.

Thanks!!!
# 7  
Old 09-24-2012
Per the online man page for "nslookup":

Quote:
nslookup -
query Internet name servers interactively
"query Internet name servers interactively" does not include searching /etc/hosts.

Synopsis - man pages section 1M: System Administration Commands
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Make throwing error while compiling python3.6 on Solaris10

Hi, I have downloaded gzipped source tarball of python3.7. I have tried to compile like below, ./configure --prefix=/directory Compiling seems to be ok..But when running make all..Getting too many missing initializer warnings /python3.6/Python-3.6.0/Modules/_cursesmodule.c: At top level:... (1 Reply)
Discussion started by: Sumanthsv
1 Replies

2. Solaris

Solaris SPARC boot error

Hi Admins, When i tried to boot the system from ALOM console i am getting below error and not sure what caused this error. Btw the machine is running on Solaris SPARC 10. Can you shed some light on this? {b} ok boot -sv SC Alert: Host System has Reset SC Alert: Host system has... (23 Replies)
Discussion started by: prash358
23 Replies

3. Solaris

Vcs error in Solaris10

i am installed solaris 10 latest release i want to install Veritas cluster in solaris and i already installed VXVM in it and it works fine but when i install cluser on solaris i display an error like this what does it mean ? explain in detailed. 2 Failed to call set_value for... (1 Reply)
Discussion started by: samiulla
1 Replies

4. Solaris

I/O error on Solaris sparc machine

I am getting below error when trying to find for the files under /var/spool/ directory. unix@test1 >ls -la /var/spool /var/spool: I/O error Please advise (2 Replies)
Discussion started by: prash358
2 Replies

5. Solaris

Solaris10 sparc T5120 PANIC during iscsi command

Any idea why this Panic happened? Solaris10 Sparc T5120 panic during iscsi command, here is the panic log in the message : Mar 19 04:40:47 xavi-t5120c-solaris10u9-sparc genunix: /scsi_vhci/ssd@g00173800fdff0004 (ssd60) offline Mar 19 04:40:47 xavi-t5120c-solaris10u9-sparc genunix: ... (4 Replies)
Discussion started by: shaybery
4 Replies

6. Solaris

Compiling error on solaris10

Hello guys, Im trying to install a monitoring software on my solaris10 machine and im getting an error doing so. Can someone please help. ld: fatal: Symbol referencing errors. No output written to ../client/xymond_client collect2: ld returned 1 exit status gmake: *** Error 1 gmake:... (1 Reply)
Discussion started by: hemo21
1 Replies

7. Web Development

not able to build mod_auth_mysql.c on solaris10 sparc with apache 1.3.34 and mysql 5.1.50

Hello , I have s Solaris 10 10/09 s10x_u8wos_08a X86 OS. I installed Apache 1.3.34 and MYSQL 5.1.50. while executing the following command to compile the mod_auth_mysql.c module sudo ./apxs -c -L/d00/tbls/mysql/lib -I/d00/tbls/mysql/include -lmysqlclient -lm -lz mod_auth_mysql.c. result of it... (2 Replies)
Discussion started by: cnighojkar
2 Replies

8. Shell Programming and Scripting

Error copying files from Unix (Solaris10) to Windows Server 2003 using scp/sftp

Hi, I have generated a Public/Private Key Pair in Solaris Unix (source) server and deployed the Public key in Windows 2003(target) server .ssh directory of user profile. When i try to connect(ssh, scp, sftp) from Unix, i'm getting below error message. Sun_SSH_1.1, SSH protocols 1.5/2.0,... (0 Replies)
Discussion started by: ajaykumarb
0 Replies

9. Solaris

how can t recover a crashed Solaris10 on Sparc

Hi all, currently i'm running solaris 10 on Sun Fire v880 i crashed the system by mistake and now the system cannot boot It gets keep showing error messages on the eprom prompt is there any steps or procedures can i follow to recover the system to it's previous state thanks in advance (8 Replies)
Discussion started by: h@foorsa.biz
8 Replies

10. Solaris

How do I run OpenWindows on a Solaris10 Sparc system?

How do I run OpenWindows on a Solaris10 Sparc system? I know it has been discontinued, but I have some applications that only run on OpenWin. And I would like to run Solaris10 instead of Solaris8, hence the problem. Can I download, install and run it with Solaris10? Thanks, Mike (5 Replies)
Discussion started by: mndavies
5 Replies
Login or Register to Ask a Question