Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Raymond Leach <raymondl@knowledgefactory.co.za>
To: Francois Peyron <lists@peyron.nom.fr>, netfilter@lists.samba.org
Subject: Re: dns server
Date: Thu, 6 Jun 2002 15:37:28 +0200	[thread overview]
Message-ID: <200206061537.28204.raymondl@knowledgefactory.co.za> (raw)
In-Reply-To: <007501c20d5e$7ddfefb0$d700677d@7jbkbszj019>

What are you trying to accomplish?

Allow clients internally to query your DNS server?
Allow your DNS server to query root servers and forwarders?
Allow external people to query your DNS server?
Allow updates to slave zones on your DNS server from external DNS servers?

You should create specific rules for these situations rather than generic 
rules.

Ray

On Thursday 06 June 2002 15:31, Francois Peyron wrote:
> Hi,
>
> I think you have to add the same line for the tcp protocol, I can't
> remember why: I think some requests are made with udp while others with
> tcp. iptables -A INPUT -p tcp --destination-port 53 -j ACCEPT
>
> hope this will help,
>
> Francois
> ----- Original Message -----
> From: "Corin Langosch" <corinl@gmx.de>
> To: "IP-Tables Maillingliste" <netfilter@lists.samba.org>
> Sent: Thursday, June 06, 2002 3:22 PM
> Subject: dns server
>
> > Hi,
> >
> > im running a dns server here and i'm not sure if the following rule is
>
> enough to
>
> > allow dns queries from everywhere:
> >
> > $IPTABLES -A INPUT -p udp --destination-port 53 -j ACCEPT
> >
> > all other packets are reject or dropped.
> >
> > Thanks,
> > Corin

-- 
----------------------------------------

Ray Leach (Technical Network Specialist)

Knowledge Factory

www: http://www.knowledgefactory.co.za

Tel: +27-11-445-8100 Direct: 445-8263

Fax: +27-11-445-8101

"No matter where you go, there you are."

----------------------------------------


  reply	other threads:[~2002-06-06 13:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-06 13:22 dns server Corin Langosch
2002-06-06 13:31 ` Francois Peyron
2002-06-06 13:37   ` Raymond Leach [this message]
2002-06-06 13:45     ` Maciej Soltysiak
2002-06-06 13:48       ` Raymond Leach
2002-06-06 14:00         ` Antony Stone
2002-06-06 14:36           ` Arne Sagnes
2002-06-06 15:06             ` Tony Earnshaw
2002-06-06 13:33 ` Antony Stone
2002-06-06 14:00   ` Daniel Bastos
2002-06-06 14:04 ` Tony Earnshaw
2002-06-08  9:58   ` Nick Drage
2002-06-09  7:40     ` Tony Earnshaw
  -- strict thread matches above, loose matches on Subject: below --
2002-06-08 10:21 Corin Langosch
2002-06-08 22:36 ` Nick Drage

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200206061537.28204.raymondl@knowledgefactory.co.za \
    --to=raymondl@knowledgefactory.co.za \
    --cc=lists@peyron.nom.fr \
    --cc=netfilter@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox