From: Mark Anacker <manacker@lot66.com>
To: netfilter@lists.netfilter.org
Subject: Re: Relay to DNS Server ?
Date: Wed, 16 Jun 2004 10:44:36 -0700 [thread overview]
Message-ID: <40D08704.7020804@lot66.com> (raw)
In-Reply-To: <200406161830.21188.Antony@Soft-Solutions.co.uk>
Antony Stone wrote:
> On Wednesday 16 June 2004 2:53 pm, Patrick Leslie Polzer wrote:
>
>
>>On Wed, 16 Jun 2004 15:31:37 +0200
>>
>>Akao <technique@akao.fr> wrote:
>>
>>>Is it possible to use netfilter rules to "relay" clients DNS requests ?
>>
>>Masquerading does that, but you must allow packets to port 53 tcp/udp to
>>pass through to your ISP's DNS servers and their related packets back.
>
>
> This is a completely correct and accurate answer to your question, however I
> think you would get much better performance for very little effort if you set
> up a simple caching-only name server somewhere on your network (possibly even
> on the firewall itself, but don't tell anyone I suggested that :)
>
> Regards,
>
> Antony.
>
You might want to run a DNS cache like dnsmasq on the firewall box, then
use a REDIRECT or DNAT rule to grab client's requests and force them
into the cache. That way, the client's don't have to change their DNS
server list, and you get the benefits of caching.
--
Mark Anacker
Chameleon Technology, Inc.
next prev parent reply other threads:[~2004-06-16 17:44 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-15 17:00 allow range syntax - perplexed Jonathan Villa
2004-06-15 17:19 ` Cedric Blancher
2004-06-15 17:47 ` Jonathan Villa
2004-06-15 17:52 ` Jonathan Villa
2004-06-16 13:31 ` Relay to DNS Server ? Akao
2004-06-16 13:53 ` Patrick Leslie Polzer
2004-06-16 17:30 ` Antony Stone
2004-06-16 17:44 ` Mark Anacker [this message]
2004-06-17 7:11 ` Akao
2004-06-15 17:58 ` allow range syntax - perplexed John A. Sullivan III
2004-06-15 18:41 ` Jonathan Villa
2004-06-15 19:04 ` Antony Stone
2004-06-15 19:27 ` Jonathan Villa
2004-06-16 8:47 ` blocking all traffic in port 137/137 david
2004-06-16 8:52 ` Antony Stone
2004-06-16 9:00 ` Frank Gruellich
2004-06-15 19:15 ` allow range syntax - perplexed John A. Sullivan III
2004-06-15 19:30 ` Jonathan Villa
2004-06-15 18:52 ` Antony Stone
2004-06-15 19:24 ` Jonathan Villa
2004-06-15 19:55 ` Antony Stone
2004-06-15 20:40 ` Jonathan Villa
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=40D08704.7020804@lot66.com \
--to=manacker@lot66.com \
--cc=netfilter@lists.netfilter.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 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.