On Thursday 29 January 2004 05:39, Ciaran McCreesh wrote:

> Dead easy... On your local DNS server:
>
> * emerge dnsmasq
> * mv /etc/resolv.conf /etc/resolv.dnsmasq
> * echo "nameserver 127.0.0.1" > /etc/resolv.conf
> * echo 'DNSMASQ_OPTS="-r /etc/resolv.dnsmasq"' > /etc/conf.d/dnsmasq
> * add in /etc/hosts entries for skylineaero.com with the *local IP*
> to /etc/hosts. also add in entries for all the boxes on your LAN. *
> rc-update add dnsmasq default
> * /etc/init.d/dnsmasq start
>
> On every other box:
>
> * echo "nameserver IP_OF_YOUR_LOCAL_DNS_SERVER" > /etc/resolv.conf
>
> dnsmasq is just a little server (suitable for < 100 clients) that
> tries to resolve from /etc/hosts, and forwards on to another
> nameserver (your ISP, presumably) if it can't find a match.

Hey that's cool. It's much less work than configuring bind. Can it do
reverse lookups?

cu

lukas

-- 
** PGP-key available on keyserver pgp.mit.edu **

Please don't sign your public mail unless your
PGP-key is available for everyone!


Attachment: pgp00000.pgp
Description: signature

Reply via email to