Sponsored in part by... Readers Like You! READERS LIKE YOU! Support TidBITS with a contribution today!
<http://www.tidbits.com/about/support/contributors.html>
Special thanks this week to John O'Shaughnessy, Bob Dolan,
Robin S. Armstrong, and David M. Douds for their generous support!

 [F] TidBITS  / TidBITS  / TidBITS Talk  /

DNS on 10.3.8 Client edition for Dummies?

[Genet, Jamie Kahn]Jamie Kahn Genet (apparently) - 03:06pm Mar 18, 2005 PST
via email

Hi there.

Can any kind TidBITS reader point me towards a decent guide to setting
up DNS for a small home office LAN of 2-4 Macs networked with 10/100
Ethernet and an ADSL Speedtouch Router or similar type of setup?

I freely admit to being more than a bit lost trying to set up my own
domain name server without any friendly GUI interface or simple step by
step guidance (if your server's internal IP address is this - then put
it there, if your domain is thus - put that there. I need something
along those lines please).

TIA,
 Jamie Kahn Genet


Mark as Read
  OutlineAll MessagesOlder MessagesOldest MessagesNewest MessagesNewer Messages

John C. Welch (apparently) - Mar 21, 2005 1:09 pm (#1 Total: 4)  

Reply to this message
via email  

Photo of Author
Posts: 772
Re: DNS on 10.3.8 Client edition for Dummies?

On 3/18/05 4:06 PM, "Jamie Kahn Genet" <jamiekgwizardling.geek.nz> wrote:

> Can any kind TidBITS reader point me towards a decent guide to setting
> up DNS for a small home office LAN of 2-4 Macs networked with 10/100
> Ethernet and an ADSL Speedtouch Router or similar type of setup?

Is there a reason WHY you need home DNS? It's a bit of overkill for a home
network.

--
John C. Welch Writer/Analyst
Bynkii.com Mac and other opinions
jwelchbynkii.com


kevinv (apparently) - Mar 21, 2005 1:09 pm (#2 Total: 4)  

Reply to this message
via email  

Photo of Author
Posts: 1344
Re: DNS on 10.3.8 Client edition for Dummies?

--On March 18, 2005 2:06:18 PM -0800 Jamie Kahn Genet
<jamiekgwizardling.geek.nz> wrote:
> Can any kind TidBITS reader point me towards a decent guide to setting
> up DNS for a small home office LAN of 2-4 Macs networked with 10/100
> Ethernet and an ADSL Speedtouch Router or similar type of setup?

I did this with BIND on Linux long ago, but switched to djbdns (still on
linux) because I was tired of updating BIND all the time for security
patches.

<http://www.isc.org/index.pl?/sw/bind/>
<http://cr.yp.to/djbdns.html>

What I did maybe different than what you want to do. I wanted machines
that got their IP address via DHCP to be available via their computer name.
Plus I wanted my own top-level domain because these computers were behind a
firewall and I didn't want accidental (or intentional) collisions with
someone else's domain of the same name.

The djbdns site offers lots of how-to's on doing various things.

I found this useful in setting up my top-level domain:
<http://cr.yp.to/djbdns/dot-local.html>

Just avoid setting up a top-level domain of .local, it conflicts with
Rendezvous.

Some routers/firewalls that support dhcp will support DNS for machines on
the internal network. You might check that first, probably the easiest
thing to setup.

This may help to:

<http://www.tldp.org/HOWTO/DNS-HOWTO.html>



Chris Pepper (apparently) - Mar 21, 2005 1:09 pm (#3 Total: 4)  

Reply to this message
via email  

Photo of Author
Posts: 839
Re: DNS on 10.3.8 Client edition for Dummies?

It's not too complicated -- a couple zone files, with about
5-10 lines + number of machines in each, and some minor
customizations to named.conf. Unfortunately, BIND is big &
complicated software. Getting it wrong is easier than getting it
right, and bad DNS records may work, but cause problems for other
people on the Internet.

        The easiest thing is probably to have your ISP set up a few
DNS records for you. The latency of asking querying their DNS servers
instead of one on your LAN will trivial. Alternatively, you could use
a DNS service like EasyDNS.

        If you don't really need DNS service, you might be able to
get by with hosts files. Add a few lines like this into /etc/hosts,
and then copy it to every machine. Mac OS X (and most UNIXes and
Windows) consult host files before trying DNS lookups.

10.0.1.1 speedtouch
10.0.1.250 printer
10.0.1.251 imac

        This assumes you're using static addresses; dynamic DNS (if
you aren't) is much more complicated.


        All that said, if you really want to use DNS on Mac OS X,
it's a fairly standard BIND install. Mac OS X Server (which might be
nice for a small home office anyway, but costs more than client) has
a decent GUI for enabling & configuring DNS and maintaining zone
files. If you're doing it on client, read a few of the many documents
on BIND 9 -- pretty much everything they have to say is relevant. I
suggest you *not* publicize your private domain on the Internet --
this reduces the likelihood of lame delegations and other problems,
and avoids the official requirement for a backup (slave) name server.

        Assuming you have bbedit, try "more /var/named/*; bbedit -u
/etc/named.conf /var/named/local.zone
/var/named/0.0.127.in-addr.arpa". Copying the samples, create new
pointers to forward and reverse zones, then following the examples
and online docs, create & populate your own private forward & reverse
zones.

        Use named-checkconf & named-checkzone.


                                                Good luck,

-
Chris Pepper: <http://www.reppep.com/~pepper/>
Rockefeller University: <http://www.rockefeller.edu/>

steve972 (apparently) - Mar 23, 2005 7:40 am (#4 Total: 4)  

Reply to this message
via email  

Photo of Author
Posts: 1
Re: DNS on 10.3.8 Client edition for Dummies?




  OutlineAll MessagesOlder MessagesOldest MessagesNewest MessagesNewer Messages


 [F] TidBITS  / TidBITS  / TidBITS Talk  / DNS on 10.3.8 Client edition for Dummies?




Add a message

To add a message to this discussion, you must be a registered user. Enter your email address below. If you have an account associated with the email address you enter, you will be prompted for your password. If not, you'll be able to create a new account with no fuss.

Enter your email address:

Submit