Re: dhcpd and pppoe and name servers
Bill Moseley, 2002-Nov-20 20:21 -0800:
> At 08:41 PM 11/20/02 -0600, David Bell wrote:
> >On Wed, 2002-11-20 at 17:57, Bill Moseley wrote:
> >> 2) if the ppp-reported name server changes how do I update the "option
> >> domain-name-servers" in my /etc/dhcpd.conf file automatically?
> >
> >I would recommend running a caching DNS server on this box, since it
> >will be used to service a LAN. This way, the DNS server address for the
> >LAN computers will not change.
>
> Would you recommend a caching only bind9 setup, or Dnsmasq? I've never
> used Dnsmasq, but it seems like it's designed specifically for this. On
> the other hand bind is nice since it doesn't have to depend on the ISPs
> name servers (which I assume dnsmasq does.
I can vouch for dnsmasq. I just installed it based on this email. I
have a cable-modem connected to eth0 and eth1 goes to a hub and
several PC's that are NAT'd. I made one change to the
/etc/init.d/dnsmasq script to make it listen only on eth1 upon
startup. Quick and easy!
The change was adding this line to the list of other variables:
DNSMASQ_INTERFACE="eth1"
Oh, and I changed my dhcp server to serve itself as the dnsserver.
I've always used my ISP's DNS primarily, so that's no bother for me.
dnsmasq feeds off of /etc/hosts so I can simply add hosts there and
they will be served locally.
jc
--
Jeff Coppock Systems Engineer
Diggin' Debian Admin and User
Reply to: