LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-21-2005, 07:48 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
dns server.


i have a problem finding dns server in my university network.
i have connected to internet via proxy server in the university.
can anyone know the port number of dns server so that i can locate a dns server IP address by using nmap.

or any command to lookup a dns server.
 
Old 12-21-2005, 12:48 PM   #2
Medievalist
Member
 
Registered: Aug 2003
Distribution: Dead Rat
Posts: 191

Rep: Reputation: 56
port 53 (usually UDP and TCP both active)
 
Old 12-22-2005, 03:19 AM   #3
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
Try with nslookup or dig.

--
Prasanta
 
Old 12-22-2005, 07:06 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
As prasanta said, use nslookup, like so:
nslookup
#=> gives you an nslookup prompt
#it should already tell you the default DNS server you're using (so if you're connected to the univ network,
#then you already have your answer...
#otherwise:
<univ_domain>
#This should respond with some NS (NameServer) records for the domain <univ_domain>.

#Similarly, you can also check out the mail server, etc:
set type=MX
<univ_domain>
#=> mailserver is an MX record in the DNS database.
 
Old 12-22-2005, 11:38 AM   #5
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
I always find it easiest to get the DNS server settings off a working system on the [foreign] network. Go to a box that is working on the network and either:

Linux: cat /etc/resolv.conf
Windows 2k/XP: from a command prompt type ipconfig /all and note the DNS servers
Windows 9x/ME: run winipcfg
 
  


Reply



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
dns client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 03:30 PM
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

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

All times are GMT -5. The time now is 12:09 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