All of lore.kernel.org
 help / color / mirror / Atom feed
From: Askar <askarali@gmail.com>
To: "varun_saa@vsnl.net" <varun_saa@vsnl.net>
Cc: netfilter@lists.netfilter.org
Subject: Re: DNS rules
Date: Sun, 1 May 2005 14:52:09 +0500	[thread overview]
Message-ID: <a0f69e50505010252180ba805@mail.gmail.com> (raw)
In-Reply-To: <911ce5913bf2.913bf2911ce5@vsnl.net>

Again it depends, how you setup your default policies. In case you are
using recommended "default DROP" then you have to tell iptables to
allow "udp 53" towards your ISP.

iptables -A FORWARD -p udp --dport 53 -j ACCEPT


If you are running a small LAN then running a cache only dns on your
gateway would be beneficial, (that it will cache the lookups)

dnsmasq is excellent cache only dns server and i'm sure you would get
is running within 10 minutes.
you can also use bind in cache only mode.

regards

Askar Ali
On 5/1/05, varun_saa@vsnl.net <varun_saa@vsnl.net> wrote:
> Hello,
>      My server is on Mandriva 10.1
> eth0 is WAN with static IP connected to 512K DSL
> eth1 is LAN - 192.168.0.0/24 and 192.168.21.0/24
> 
> I have 2 DNS provided by the ISP.
> 
> Is it usefull to have rules for DNS included
> in the iptables ?
> 
> Thanks
> 
> Varun
> 
> 


-- 
I love deadlines. I like the whooshing sound they make as they fly by.
Douglas Adams


  reply	other threads:[~2005-05-01  9:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-01  9:33 DNS rules varun_saa
2005-05-01  9:52 ` Askar [this message]
     [not found] <915b3891601a.91601a915b38@vsnl.net>
2005-05-01 10:30 ` Askar
2005-05-01 10:33   ` Askar
2005-05-01 16:12     ` Mohamed Eldesoky

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=a0f69e50505010252180ba805@mail.gmail.com \
    --to=askarali@gmail.com \
    --cc=netfilter@lists.netfilter.org \
    --cc=varun_saa@vsnl.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.