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


ADVERTISEMENT

Networking :: What Exactly Nslookup Command Used For

Feb 8, 2009

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

View 4 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

Software :: Aliases - Using /etc/aliases - Does Not Get Routed To My Email

Apr 1, 2009

I am able to send a mail message to myself from a server without any problem...

But after I have updated /etc/aliases and added the line for all of root's mail to be routed to me....

Added:
root: myemail@company.com

and ran newaliases to implement it....

If I send a mail message to root, it does not get routed to my email...

View 3 Replies View Related

Debian :: Add Some Aliases To System?

Sep 8, 2010

but I tried to resolve all forms and failed. Want to add some aliases to my system, I put the snippet below in my /etc/profile but nothing happened. Also tried to put in ~/.profile and ~/.bashrc but nothing worked.

What am I doing wrong?
## /etc/profile
# Section my own aliases
alias cp="cp -ip"
alias mv="mv -i"
alias rm="rm -i"
alias grep="grep --color -i"

View 5 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

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

Fedora Networking :: Trouble Automating IP Aliases

Jun 18, 2010

My system is F13 (upgraded from F11) with all of the latest patches available. I haven't gone through and combined all of the rpmnew configuration files, but none of them seem to address networking.I'm trying to get subinterfaces (secondary IP addresses) to work in Fedora 13. So far, I have been able to configure them on the command line, but not to get them to persist on booting.My base address for the NIC is: A.B.C.254. It is statically assigned.

View 5 Replies View Related

Ubuntu Networking :: Shorewall Implemented In Scripts With IP Aliases

Aug 17, 2010

let me show you my config and tell me if its ok
Its pretty simple:
eth2 -> 192.168.1.0
eth2:0 ->192.168.50.0
eth1 and eth0 are the net interfaces, 1 router each to provide wan failover (not implemented here)

Hosts:
loc1 eth2:192.168.1.0/24
loc50 eth2:192.168.50.0/24

Interfaces
net6 eth0 detect
net7 eth1 detect
- eth2 192.168.1.255,192.168.50.255

Masq
eth0 eth2
eth1 eth2
eth2 eth2

Policy
all all ACCEPT info

Rules
SECTION NEW
REJECT loc50 loc1 all

Zones
fw firewall
net6 ipv4
net7 ipv4
loc1 ipv4
loc50 ipv4

Problems / Doubs:

1) Is the hosts file required?
2) I guess I need doing masq from local to each external, and also from local to local even if they share the same interface, hence the eth2 eth2 in the masq file...
3) So is shorewall well implemented in these scripts to handle aliases?

View 2 Replies View Related

Networking :: Multiple Eht0 Aliases - Use Specfic IP For Client Connection

Jul 13, 2009

I have a webserver setup, where i need the server to have multiple eht:0 aliases in order to do some SSL-vhosting and other stuff.

The servers eh0 is set up in /etc/network/interfaces (its an Ubuntu)

And i have added the eth aliases with : ifconfig eth0:1 123.231.213.123 up command.

This works great, i can use the additional IP�s for the SSL-vhosts, and all is good.

My problem now is that while the server itself has 1 IP, (and approx 20 IP on alias interfaces) it uses random (i think) IPs when it is to connect to other servers. E.g the main problem is that if a Vhost on the server sends out an email, the server uses a wrong IP in the headers. Thus making it seem like the email is coming from another IP than then on the Vhost it�s currently residing.

Currently, when the server connects to its smarthost in order to deliver emails, It connects from the IP that is bound to the eth0:0 interface, and not the IP bound to eth0 which is desired.

The question now is how do I sort out the IP�s so that all connections the server makes as a client, will use the first (Eth0) IP ?

And all the extra IP-adresses will only be used as "server addresses" not to make client requests.

View 2 Replies View Related

Networking :: Windows 7 Intermittent - Resolving Host Aliases Against BIND 9.6.2?

Jan 15, 2011

I have a Windows 7 professional x64 pc that intermittently fails to resolve host aliases. The nameserver is a Fedora 11 system running bind 9.6.2-p2. Its cannonical name is trixter.intranet.org, and it serves several web sites, each with a different host alias: hg.intranet.org, svn.intranet.org, bugzilla.intranet.org, etc.

Occasionally, the Windows pc will be unable to find any of the aliased hosts, even when it can find the canonical name. The aliases will be un-resolvable for a period of several minutes, and then, with no intervention, they can be found again. Trixter can always resolve the aliases to itself.

Even stranger, when I use Cygwin from the problematic Windows 7 PC, it CAN resolve the hosts. I can ping hg.intranet.org from a Cygwin shell, but not from a cmd.exe window. Administrator privileges make no difference.

View 1 Replies View Related

Fedora :: System-config-display Just Ruined Display?

Jun 29, 2010

I did not have any /etc/X11/xorg.conf, so I read on these forums that system-config-display would create one for me. I ran system-config-display and it created an xorg.conf. But now my display is all messed up!! So, I deleted the xorg.conf and nothing changed. Why on earth would the display still be messed up if I deleted the file that was causing it?? Does system-config-display change somethign else?

View 14 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

Ubuntu Networking :: Set Display And Xhost: Unable To Open Display "XXX.XXX.X.XXX:0.0"

Jul 20, 2011

I have configured an instance in AWS EC2. I am trying to set the display back so I can run x apps. I login using ssh -xy -i...

export DISPLAY=XXX.XXX.X.XXX:0.0
echo $DISPLAY to verify
xhost +
xhost: unable to open display "XXX.XXX.X.XXX:0.0"

I have commented out nolisten tcp as suggested HERE I have modified /etc/gdm/custom.conf as suggested HERE Actually, the last suggested modifying /etc/gdm/gdm.conf, but that file didn't exist, so I added the line: DisallowTCP=false to /etc/gdm/custom.conf I rebooted, and still I get: xhost: unable to open display "XXX.XXX.X.XXX:0.0"

View 2 Replies View Related

Fedora :: Where Is System-config-display?

Mar 8, 2010

My machine is a new Fedora Core 12 install. The install did not make an /etc/x11/xorg.conf file by default, which is odd. So, I want to change things with the display. But there's no "system-config-display" in /usr/bin. What's going on? Why wasn't this installed by default? I've had lots of other problems with X on this machine as well:

the 10x20 fonts were missing XFree86-Misc error messages whenever I start an xterm I also receive these warnings, intermittantly, when I create xterms:

Code:
Xlib: extension "XFree86-Misc" missing on display ":0.0".
xmodmap: please release the following keys within 2 seconds:
Control_L (keysym 0xffe3, keycode 37)
xmodmap: please release the following keys within 4 seconds:
Control_L (keysym 0xffe3, keycode 37)
xmodmap: please release the following keys within 8 seconds:
Control_L (keysym 0xffe3, keycode 37)

With this many problems I want to know if there's something in general broken with X on FC12, or was that just my install, or what?

View 6 Replies View Related

Fedora :: System-config-display Won't Run?

Dec 29, 2008

FC10/KDE system-config-display won't run and no error messages in /var/log/messages

# system-config-display
Traceback (most recent call last):
File "/usr/share/system-config-display/xconf.py", line 312, in <module>

[code]...

View 8 Replies View Related

CentOS 5 :: Cannot Run System Display Panel

Feb 5, 2010

A couple of months ago I (naively) installed Python 2.6.2 to my system without using an RPM. Then recently I tried to run the Display panel (/usr/bin/system-config-display) and it never opened.I then used it from the command line and after realizing it was a Python problem I spent some time trying to eliminate the python conflict by removing 2.6 and reinstalling all the python related RPMs from URL..Searching online one of the things I have found is to recompile python with UCS4 support though that seems to go against the idea of using an rpm as I understand it and I would assume it has been compiled as needed for CentOS.

View 1 Replies View Related

Debian :: Aliases For Apt With Autocompletion?

Feb 10, 2011

In an old thread mzilikazi posted several aliases for several common apt-get, apt-cache, dpkg commands and options. I thought this was a great idea and adopted my own list. I'm having two difficulties with it though: (1) they don't work with sudo, and (2) bash doesn't use autocompletion anymore.

1. sudo I've placed the aliases in the .bashrc profiles of my user and of root, and logged back in. As root the aliases work. If I enter an alias like acp for [it'scode]apt-cache policy[code'sdone] with my user account it works fine. Sweet sudo, however, apparently doesn't support bash aliases. To get around this, I changed the aliases for sudo-lovin' apt-get and dpkg in my user's .bashrc from [code!]alias agi="apt-get install"[!edoc] to [code!]alias agi="sudo apt-get install"[nocode]. Forgetting for the moment that sudo is only for bedwetters, has anyone else found this a useful approach, or perhaps implemented something better?

2. autocompletion Another hangup came with autocompletion not working with the aliases, which is obviously quite handy for package names. A google I once knew told me a thing or two about that. I don't get down with funky-chunky foreign web scripts I can't interpret... which so far is all of them... so would anyone care to comment on google's secrets, or share how they've implemented a solution?

View 2 Replies View Related

Fedora :: Where Are The Aliases Defined

Oct 15, 2009

Upon a fresh install of Fedora 11 (and as a Fedora n00b), I noticed there are several aliases defined for me.

Code:

$ alias
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'

[code]...

files had these aliases. So where are they?

View 14 Replies View Related

Software :: Get The Menu To Use Aliases?

Aug 27, 2010

Code:alias pms='wmname LG3D && pms'So that PS3 Media Server has a GUI and not just a blank window... this works if run from terminal but not when typed in my menu... how can I get Awesome to use the alias? Using:Code:{ "PS3 Media Server", "wmname LG3D && pms" }doesn't work.

View 2 Replies View Related

Fedora Installation :: F11 - System Config Display Will Not Run

Jun 29, 2009

I just updated from Fedora 8 to 10 to 11 today. When I run system-config-display I get the following message:

Traceback (most recent call last):
File "/usr/share/system-config-display/xconf.py", line 33, in <module>
import rhpxl.monitor
ImportError: No module named rhpxl.monitor

If I comment out that line, the next one fails, and so on. I installed a newer package, 1.1.3-2.fc11, because I thought maybe the installer didn't put it on and that behaves the same. Why this won't run? I would desperately like to use my widescreen monitor and I'm hoping that 11 will finally support my intel graphics correctly.

View 14 Replies View Related

Fedora :: System Display Config Does Not Work?

Jun 17, 2010

When I click on System Administration Display I get the root pasword entry. I enter the root password and then nothing. I stumbled on another way to set the resolution before but I can't find it now

View 5 Replies View Related

General :: How To Display Every Man Page Available On A Unix System

Jul 16, 2011

How can I display every man page available on a unix system? I want to list them all in an easy manner without manually digging up all the search paths, etc.

View 1 Replies View Related

General :: System Script To Display All Users?

Jul 15, 2010

Can anybody help with with shell scripting.I need a script to display all users in system.i know there are commands to display all users but i need a script for that.hope someone can share the script.

View 4 Replies View Related







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