LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-03-2002, 03:22 PM   #1
ifm
Member
 
Registered: Jun 2002
Location: USA
Distribution: RH7.3 & YDL2.1
Posts: 124

Rep: Reputation: 15
ipchains to allow remote dns lookup?


I need to figure out what ports to open to allow "outside" machines to lookup dns records on the BIND9 DNS server that is running on the machine.

Its kind of a usless thing to have an authoritative dns server for some domains, when no one in the world can get the zone record information to know WHERE the domains point too !! LOL!!!

So uhm ... could anyone be a peach and let me in on the secret? Lots of ports on this machine, and I don't wanna open the wrong ones (or all of them).
 
Old 07-05-2002, 12:58 PM   #2
ifm
Member
 
Registered: Jun 2002
Location: USA
Distribution: RH7.3 & YDL2.1
Posts: 124

Original Poster
Rep: Reputation: 15
No one knows? There are some 65 tousand ports for me to find the right one to allow... apparently the posts allocated to "domain" do not work for remote zone information gathering. Still firewalled somewhere. And since I can't monitor what port the remote softwares are trying to HIT, I cant very well know which one to open... waah... =)

So, I ask a second time, anyone? anyone? (read my above post for the exact question).

Thanks.
 
Old 07-06-2002, 05:19 PM   #3
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
You can look what port is listening for dns requests with netstat.
 
Old 07-06-2002, 05:20 PM   #4
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
And you could also take a look at the file /etc/services if you are using redhat.
 
Old 07-06-2002, 09:19 PM   #5
ifm
Member
 
Registered: Jun 2002
Location: USA
Distribution: RH7.3 & YDL2.1
Posts: 124

Original Poster
Rep: Reputation: 15
Wow!

"netstat" ... what a wonderful tool! How come I never knew of this tool? BAH!

Ok, yeah, thanks, that helped big time, got it all sorted out and all is working fine now. Thanks!
 
  


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 lookup Cabous Linux - Networking 11 07-18-2005 12:36 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
DNS lookup arsham Linux - General 2 05-07-2005 08:44 AM
Cant lookup dns . Trygve Linux - Networking 2 10-23-2003 03:31 PM
DNS Lookup dilberim82 Linux - Networking 3 05-30-2001 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:02 AM.

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