LinuxQuestions.org
Visit Jeremy's Blog.
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 03-02-2004, 08:53 AM   #1
genie
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Rep: Reputation: 0
why my DNS is not working corectly


I have instaled an firewall on my server and if I try to connect to my DNS i can't connect even if i accept everithing on 53 port, before installing the firewall my dns was working OK,

I blocked all ports from 0 to 65535
and I opened potrs
TCP 22, 25, 53, 80, 110, 3306
UDP 25, 53, 123, 1370, 3010

what port should i open to work properly ???

seba

Last edited by genie; 03-02-2004 at 08:56 AM.
 
Old 03-02-2004, 12:00 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
If you're running a DNS server behind the firewall, then you need ports 53 UDP and TCP open and forwarded to the DNS server. You also need to allow the responses back out.

Maybe you should clarify things a bit. Is "your DNS" on your own network (at home?), or is it someone elses' server that is providing DNS for you (i.e. a web hosting company, or domain registrar)?

If your own machine is acting as a DNS server, where is it on your network? Could you describe how your network is setup (e.g. DSL goes into dual-homed box, running iptables, inside NIC is connected to switch, all boxes on switch have RFC1918 addresses and are being NAT'd by firewall, etc...).

Can you post your firewall rules?
 
Old 03-09-2004, 01:05 PM   #3
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
DNS is a tricky protocol to let through firewalls, this has to do with the way klients and servers communicate. The tricky part is that different clients/servers do it a litettle different.
This is a linkto a site trying tio describe to issue.
http://homepages.tesco.net/~J.deBoyn...all-holes.html
 
  


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
View NTFS Partition with Greek Filenames corectly (UBUNTU) thothoneos Linux - Newbie 2 10-29-2005 09:18 AM
DNS not working jonlake Linux - Networking 9 07-08-2005 01:40 AM
dns not working! jimthing2001 Linux - Networking 19 05-28-2004 01:16 AM
DNS not working? dav7500 Linux - Networking 8 03-24-2004 03:09 PM
DNS not working! eXor Linux - Networking 3 10-13-2002 01:11 PM

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

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