Bug 24107 - New port: dnrd: A proxy DNS daemon
Summary: New port: dnrd: A proxy DNS daemon
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-01-06 15:30 UTC by George Reid
Modified: 2001-03-10 19:35 UTC (History)
0 users

See Also:


Attachments
file.shar (8.48 KB, text/plain)
2001-01-06 15:30 UTC, George Reid
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description George Reid 2001-01-06 15:30:01 UTC
DNRD is a proxy name server. To clients on your home network,
it looks just like a name server. In reality, it forwards every
DNS query to the "real" DNS server, and forwards responses back
to the client.

So, why would you want to use it? DNRD was designed for home
networks where you might want to dial into more than one ISP
(ie, your home ISP and a dialup connection to your office). The
problem with multiple dialups is that you need to change
/etc/resolv.conf for each one. With DNRD, this is no longer
necessary.

Your dialup machine will run DNRD (with appropriate options for
forwarding messages to the desired DNS servers). All other
machines on the home network, including the dialup machine
itself, will use the dialup machine as its DNS server.

- George Reid
greid@ukug.uk.freebsd.org

How-To-Repeat: n/a
Comment 1 Will Andrews freebsd_committer freebsd_triage 2001-03-10 19:33:39 UTC
State Changed
From-To: open->closed

Committed, thanks.  I made some modifications to your port to clean it up. 
One thing was, it didn't compile on 4.3-BETA (missing sys/types.h include in 
src/dns.c).  Then the errors that popped up because it linked with -lc_r 
instead of -pthread (this really can only be fixed properly by adding something 
that Maxim suggested - PTHREAD_{LIBS,CFLAGS} - to bsd.port.mk).  Then I moved 
the patches to better filenames.