Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 1998 22:46:22 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Keith Spencer <bsd@smmc.qld.edu.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to set up DNS
Message-ID:  <Pine.BSF.3.96.980112224320.22079c-100000@gdi.uoregon.edu>
In-Reply-To: <199801092130.HAA03008@smmcroute.smmc.qld.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 10 Jan 1998, Keith Spencer wrote:

> Hi all,
> I wish to try to set up a DNS on a second machine 
> Background : My ISP has created a fbsd machine static IPed for 
> me...but I wish to have a crack at it myself on another box.
> I have set up FBSD 2.2.2 as a LAN gateway with a dynamic IP as 
> instructed via PPP docs etc....It works well.
> 
> I now wish to switch it to static IP and set up DNS
> The pppdoc suggested I not enable routing since it tends to delete 
> routes hardcoded into ppp.conf.
> So what steps do I need...Is ther a sequence of steps I need to 
> follow?

1.  Buy ``The Complete FreeBSD, 2nd Edition'' and ``TCP/IP Network
    Administration.''
2.  Install FreeBSD on the target box.
3.  Enable named in /etc/rc.conf.
4.  Set up named's zone and config files as described in TCP/IP Network
    Administration.  The named files are in /etc/namedb/.  Don't forget to
    set up the reverse zone files and run `make-localhost'!
5.  Modify /etc/resolv.conf and add a line `nameserver 127.0.0.1'.
6.  Restart your system or start named.
7.  Enjoy your new nameservice.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980112224320.22079c-100000>