LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-21-2016, 07:28 AM   #1
turalo
Member
 
Registered: Sep 2005
Location: NL
Distribution: linux, windows,
Posts: 115

Rep: Reputation: 19
Question Netstat shows domein names instead of IP adresses.


Hi,

I need little advise about netstat.
when I use it, sometimes it shows the connections in domain name format.
so the local IP is IP, but the forign IP is then something like : 342323DSL.someprovider.com

I want it to show me the IP adress not resolved hostname.

thanks in advance.
 
Old 01-21-2016, 07:35 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,175
Blog Entries: 1

Rep: Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042
Hi,

Use the "-n" switch to get remote IPs
Read the netstat manpage for more options

Regards
 
1 members found this post helpful.
Old 01-21-2016, 08:11 AM   #3
turalo
Member
 
Registered: Sep 2005
Location: NL
Distribution: linux, windows,
Posts: 115

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by bathory View Post
Hi,

Use the "-n" switch to get remote IPs
Read the netstat manpage for more options

Regards


thanks allot, it works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
netstat -anp shows lot of info GNU/Linux Slackware 1 11-11-2013 06:48 AM
DNS server not able to resolve host names to IP adresses Shiva Pahwa Linux - Server 4 08-07-2012 12:35 PM
DNS server not able to resolve host names to IP adresses Shiva Pahwa Linux - Server 3 06-22-2012 03:53 AM
'netstat -apute' shows X is LISTENing rng Linux - General 2 04-08-2012 05:37 PM
netstat shows multiple identical instances of a connection pedrevans Linux - Networking 5 01-07-2010 11:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration