Networking :: What Exactly Nslookup Command Used For

Feb 8, 2009

For what purpose does "nslookup" command should be used? Any examples.

View 4 Replies


ADVERTISEMENT

Networking :: Nslookup And Display All The Aliases For A System?

Nov 10, 2010

Not really a linux specific thing I have gooled the heck out of it and tried nslookup -a and a few other options nothing gets me what I need. The question is I have a machine with several aliases in dns. How do I do a nslookup and display all the aliases for a system.

I am trying to see if something it aliased correctly but i cannot list all the names a system is know by.

I am sure its something simple I am missing with a switch.

View 2 Replies View Related

Networking :: Nslookup Returns Connection Timed Out

Feb 4, 2011

I am not so experienced with networking in Linux. I've successfully installed Red Hat Linux Enterprise 5.2 on a VMware host. When I issued nslookup command, it returns "connection timed out" error as follows:

Code:
[root@rac1 ~]# time nslookup rac1
;; connection timed out; no servers could be reached
real 0m15.038s
user 0m0.000s
sys 0m0.000s

My questions are:
(1) Is that error normal?
(2) Is there a way to decrease the 15.038s value? rac1 is the local hostname, so why it takes all that time to resolve it.

Following info may help:
Code:
[root@rac1 ~]# hostname
rac1.mydomain.com
[root@rac1 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
#eth0 - PUBLIC
192.0.2.100 rac1.mydomain.com rac1

[root@rac1 ~]# ping -c 4 rac1
PING rac1.mydomain.com (192.0.2.100) 56(84) bytes of data.
64 bytes from rac1.mydomain.com (192.0.2.100): icmp_seq=1 ttl=64 time=0.015 ms
64 bytes from rac1.mydomain.com (192.0.2.100): icmp_seq=2 ttl=64 time=0.029 ms
64 bytes from rac1.mydomain.com (192.0.2.100): icmp_seq=3 ttl=64 time=0.029 ms
64 bytes from rac1.mydomain.com (192.0.2.100): icmp_seq=4 ttl=64 time=0.029 ms
--- rac1.mydomain.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.015/0.025/0.029/0.007 ms

View 9 Replies View Related

Ubuntu Networking :: Can't Resolve .local Domains Anywhere Except With Nslookup

Nov 29, 2010

I'm finding that I can not resolve .local domains anywhere except with nslookup and found on the LucidLynx release notes that there is a problem with avahi causing this. Although the avahi service is convenient for locating printers and such can anyone else tell me what other services/options will be impacted on a default installation of Ubuntu if I disable this service?

View 1 Replies View Related

General :: Get The Ip Address Of Host Using Of Host And Nslookup Command?

Oct 20, 2010

HOW TO GET THE IP ADDRESS OF HOST IN LINUX WITH USING OF HOST AND NSLOOKUP COMMAND and after getting the ip address how to assign it in the variable

View 4 Replies View Related

Networking :: How To Make Nslookup Return Failure If DNS Server Fails

Mar 23, 2011

I'm trying to find a command to tell nslookup, "I want you to try to resolve hostname X using DNS server Y, and if the lookup fails, just output failure do NOT fail over to some other DNS server as a backup and use it to try to resolve the same hostname."I'm trying to follow the man page instructions for doing this, but it doesn't seem to work. The man page for nslookup on my system (CentOS 5.5) includes the line:

"[no]fail Try the next nameserver if a nameserver responds with SERVFAIL or a referral (nofail) or terminate query (fail) on such a response."But if I try using that option, the output seems to indicate that after the lookup failed on ns1.afraid.org, nslookup failed over to 208.67.220.220 (the first nameserver listed in my resolv.conf -- an OpenDNS nameserver) and used it to resolve the hostname instead.

View 2 Replies View Related

Networking :: Nslookup Returning Multiple Names On RedHat With Windows AD

Jun 11, 2010

Recently I installed RedHat Enterprise 5 on a windows machine. The machine is configured to use DHCP, but I have been seeing some strange behavior if I do nslookup on the machine's IP:

[someuser@lin01 mydir]$ nslookup 10.5.x.x
Server: 10.10.x.xx
Address: 10.10.x.xx#53
x.x.5.10.in-addr.arpa name = xyz.something.
x.x.5.10.in-addr.arpa name = lenovo-d1690047.
x.x.5.10.in-addr.arpa name = pqdlds.
x.x.5.10.in-addr.arpa name = lin01.mydomain.com.

Where only the last entry of [URL] is actually correct, how can remove the other entries? I spoke to my IT Manager and he cannot see these stale entries in the DNS (we are using windows AD)

View 3 Replies View Related

Debian :: Nslookup Is Not Working

Sep 27, 2015

I am not able resolve any domain name but I am able to ping 8.8.8.8..Here is my config of /etc/network/interface

allow-hotplug eth0
iface eth0 inet static
address 10.50.243.141
netmask 255.255.255.0
broadcast 10.50.243.255
gateway 10.50.243.100
dns-nameservers 8.8.8.8

Here is the config of resolv.conf
nameserver 4.2.2.2

View 2 Replies View Related

Fedora :: Unable To Use Nslookup (get The Same Error With Dig, Btw)?

Jul 7, 2009

Have Fedora 11 running fine on my multi-Opteron system - but have stumbled into a problem which *might* have some significance (since it might relate to other system functions).When I tried to use nslookup (get the same error with dig, btw), I get the following error message:nslookup: error while loading shared libraries: liblwres.so.50: cannot open shared object file: No such file or directoryMy *guess* is that this is a bind-libs error, but I'm brushing up against the extent of my personal knowledge-base on this one.

View 10 Replies View Related

Debian Configuration :: Nslookup And Tracert Are Missing?

Mar 18, 2011

I've created live squeeze usb-hdd, but nslookup and tracert are missing. Which packages should be additionaly installed?

View 2 Replies View Related

Programming :: Finding IP Address: Nslookup Or Ifconfig

Oct 14, 2010

I am trying to find IP address. In a socket programming tutorial, I found :

Code:
$ nslookup localhost
command. It gives me a address. However, one colleague told me :

Code:
$ ifconfig

It also returns me inet_addr. But both are different. Kindly tell me the correct method to find IP address? I have also checked the /etc/hosts file but it says "localhost"

View 2 Replies View Related

CentOS 5 Server :: BIND Nslookup Don't Work From Clients OS?

Oct 20, 2009

Don't work nslookup from clients guest OS.I have LinuxMint 7 and I'm installed VirtualBox on her. I created three guests OS. Two CentOS and XP

Name
The first CentOS linux1.starline.ca
The second CentOS centos.starline.ca
The third XP xp2.starline.ca[code].....

On the clients guest OS nslookup don't work. It write : timed out; no servers could be reached .What is going on? Why nslookup don't work from clients guest OS?On client machine in the file /etc/resolv.conf have record ameserver 168.135.88.2

View 2 Replies View Related

Server :: DNS In Centos - Enter Ip Or Address Nslookup Does Not Reply Any Answer

May 5, 2010

When i enter ip or address nslookup does not reply any answer. It shows no server found. "servfail". This is my named.conf file:

[Code]....

View 3 Replies View Related

Networking :: How To Use Telnet Command

Sep 1, 2010

how to use telnet command

View 3 Replies View Related

Networking :: Net Command Gone / Get That Back?

Dec 27, 2010

I have been using the net command for a while now to remotely shutdown my windows machine, I believe that it comes with the samba package.
"net rpc shutdown -f -I IP_ADDRESS -U USERNAME%PASSWORD"

I run a Ubuntu 10.10 x86 Netbook edition computer, and have recently updated my software because my computer asked me to and the net command recently stopped working so I assume this is the cause.
It was simply saying that the net command did not exist, but after playing around installing packages I installed samba4 and got it recognizing the command net. But it no longer works the same and does not support "rpc shutdown" nor does it appear to have any replacement for it.

Was the command simply depreciated? if so how can I stop this from happening again, I use net all the time and am not happy that it would disappear without warning.

Can I get the command back somehow, or do any of your have a replacement?

View 2 Replies View Related

Networking :: What Does Route Command Do

Mar 16, 2011

What does it do? Any examples on how I use it?

View 2 Replies View Related

Ubuntu Networking :: Ssh Key Generation Command?

Jan 7, 2010

I want to run ssh-keygen -f [filename] but also specify no password. I know the -N option is used to specify the password but putting -N with nothing after it isn't permitted.

View 4 Replies View Related

Ubuntu Networking :: How To Run Ssh Shell Command

May 10, 2011

command1:
ssh pt@192.168.1.101 ls
command2:
ssh pt@192.168.1.101 totem ~/t1

Cannot open display: Run 'totem --help' to see a full list of available command line options. command1 can run, command2 can not run,would you mind to tell me why?

View 2 Replies View Related

Networking :: Execute Command From Guest OS?

Dec 25, 2010

I have linux as my host OS and windows as my guest OS on vmware. is there any possible way to execute linux commands from windows the guest OS? for example create new files, view files, ssh, check processes running... etc.

View 3 Replies View Related

Networking :: Log Off Or Log Out A User By Running A Command?

Sep 24, 2010

Let's say 4 users have logged in on 4 different Virtual Consoles:tty1 .... tty4On tty4 is logged in User4.How can I log out the User4 from my console using the root login?I just checked out the man page of shutdown but didn't find any hint there. The logout command is also not doing the work. We cannot specify a username wit it to log him/her out.

View 7 Replies View Related

Fedora Networking :: Starting Wireless From Command?

Oct 6, 2010

I was wondering... if I can "/etc/rc.d/init.d/NetworkManager stop" then, /sbin/service network restart, ifup wlan0. with out using /etc/rc.d/init.d/NetworkManager which other command I can use to get the AP around my place?

View 5 Replies View Related

Ubuntu Networking :: Ad-Hoc Works With GUI But Not Command Line

Jul 17, 2010

I have two Roboards that need to communicate with one another. I have sucessfully installed Ubuntu 9.04 using the 386 kernel based on instructions found online.I can use the GUI to set up an Ad-Hoc network using one Roboard ("Create New Wireless Network"), call it Manet, and connect to "Manet" using the GUI on the other Roboard and ping/ssh between the boards. However, when I try to create the same wireless network using the command line using:

ifconfig wlan2 down
iwconfig wlan2 key off essid 'Manet' channel 5 ap any
ifconfig wlan2 up

I don't see any entry in iwconfig under "Cell". It keeps giving me "Not Associated"When I try to enter the same information on the other Roboard to try to connect to the network, it doesn't connect and under iwconfig, I don't even see any entry for ESSID. Could somebody please tell me why it works when I use the GUI and not the command line.

View 1 Replies View Related

Ubuntu Networking :: How To Enable Wireless On Command

Jul 21, 2010

I have a LG S1 PRO, that to activate the wireless is necessary Fn + F6. How do I enable wireless on command? Since you can not activate in ubuntu with these keys.

View 9 Replies View Related

Ubuntu Networking :: Automate Ifconfig Command?

Nov 8, 2010

I manage to get Ethernet over Firewire working between my Windows XP desktop and my Ubuntu 10.10 laptop.However, I am getting tired of having to manually issue the ifconfig command every time.How can I automate it so that the command is done at bootup?

View 1 Replies View Related

Networking :: FTP MLSD Command Fails In FileZilla

May 13, 2011

I have a problem with my filezilla (or my ftp server). When I want to connect to my ftp server (and also other ftp servers!), after MLSD command, I get a "Connection timed out" error.

Log:
Code:
Status: Resolving address of khanemashroote.ir
Status: Connecting to 46.4.196.109:21...
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.4rc2 Server (Debian) [::ffff:46.4.196.109]
Command: USER badihi
Response: 331 Password required for badihi .....
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing

View 1 Replies View Related

Networking :: Host And Ping Command Not Working

Feb 28, 2010

I am working behind a http proxy (172.30.x.x:3128). I have configured it in my terminal. All the applications such as wget,lynx firefox etc. are working correctly.However all dns utilities like nslookup, host and even ping too are not working.Following is output of host command:

Code:
root@ding:~# host google.com
;; connection timed out; no servers could be reached
Output of host -T:

[Code]....

To connect to net I have to first run dhclient3(learnt from this forum!).It gives me my ip but where is dns address sent I don't have and idea.

View 14 Replies View Related

Networking :: Add Ports In Iptable /firewall Using Command?

Feb 18, 2011

I want to know how to add (ports to open)in firewall using command or scriptor any ather method

View 4 Replies View Related

Networking :: Invalid Argument With Iwconfig Command

Jan 31, 2011

I am trying to connect to a wireless network. I got a problem with network manager. So I try to connect manually

I found wireless network around by using "iwlist scan" command.

I want to connect to a network with ESSID "MCC(Mandalay)" and Key "mdymcctraining"

Here is my problem The output of "iwconfig" command is

Code:

What does it mean "invalid argument"? It means that my wireless pre-sharedkey is not correct? I am sure the key is valid. It is used by any others with window 7.

View 1 Replies View Related

Networking :: Execute A Command (ping Or Telnet Or Ssh) On Ip 192.168.0.20

Nov 25, 2010

When I execute a command (ping or telnet or ssh) on ip 192.168.0.20 it is ok.

If I execute the same command on
ip 192.168.0.020, it looks for
ip 192.168.0.18 instead of
ip 192.168.0.20

And it's the same for others ip if I put a 0 ahead last byte.

View 6 Replies View Related

Networking :: What Is Command To Show Host Name Of Ip Address?

May 25, 2010

What is the command to show the host name of the ip address?Suppose, I've an ip address like 209.191.122.70, now I want to know its host name.What is the command for that?

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved