Once you have SSH'ed you your Unix server you will have several variable set by the SHD daemin, one of the se is SSH_CLIENT, e.g.:
The IP address being where you SSH'ed from so you may automate getting the name of where you SSH'ed from thus:
HTH
Guys ,
Am using Linux - Red Hat 6.1 .
My DNS and nslookup command was working fine and ppl. can resolve through this server .
but i changed something in /etc/named.conf , that stopped the DNS .
The named proccess is working , but nslookup command is not , i get this error message :
... (3 Replies)
Hi
I usually use solaris but Im working right now with a Linux box and I cannot find the nslookup command. Does Linux use this command or have an other one to do dns querys??
Thanks and sorry for such a dumb question.. :) (2 Replies)
I am having trouble configuring BIND 8.3 on Solaris 9. When I run nslookup, I get this error/message:
test# nslookup
*** Can't find server name for address 192.168.1.31: Non-existent host/domain
*** Default servers are not available
I double checked everything and I can't figure this out. I... (8 Replies)
hi,
what would cause the nslookup to work one way but not the other?
for most machine it works both ways.
>nslookup 172.18.10.235
Server: 172.16.17.3
Address: 172.16.17.3#53
235.10.18.172.in-addr.arpa name = machine1.prod.local
>nslookup machine1
Server: ... (3 Replies)
Hi All,
If I give the hostname followed by nslookup, I get the output like below,
commandprompt>nslookup efgh
Using /etc/hosts on: xyz
looking up FILES
Trying DNS
Non-authoritative answer:
Name: abcd
Address: 47.47.47.47
Aliases: efgh
I am not sure on the bolded ones. Can... (4 Replies)
Hi ,
I have a requirement to find the aliases by doing an nslookup on the Cname.
If i do an nslookup on the alias name i get the Cname , but i need the cname from alias name.
eg: Hostname = acb.example.com
Virtual name= abcvirtual.example.com
nslookup abcvirtual.example.com will... (3 Replies)
Hi guys,
I'm back to get some help again :)
I have a file that has a list of IP addresses, and I use nslookup in my script to resolve hostnames of those IPs.
the problem I'm facing is that I not all the hostnames got resolved! and I don't know why. sometimes the same duplicate IP returns a... (8 Replies)
hi,
I am new in Solaris 10 , i am installing a software in solaris 10, while performing pre requisite nslookup command should return without error, and the IP address and host should match those listed in the etc/hosts file,
but nslookup command show the below error , can anybody tell me how i... (4 Replies)