bind and dhcp

Royans Tharakan tharakan at
Mon Nov 8 21:52:00 UTC 1999

this is not a problem at all. if your machine is dialing out using ppp,
it gets
an ip assigned by ppp automatically. all you have to do is be able to
configure the resolv.conf to have the right nameserver at the right
time. if you
are using kppp, then this option is by default enabled... however if you
are using
raw ppp scripts, then you could write a program in ppp-on to check which
isp you are
connecting to, and appropriately install the resolv.conf

Diego wrote:
> I would like to have DNS and DHCP on one linux box.
> This is my problem: I have DNS configured on my linux box to serve my small
> home network (with two win98). DNS is used to resolve internal names and to
> backup my ISP DNS (should it fail, I can still use my hints file). The linux
> box is obviously the gateaway to the internet.
> Now I want to connect with other ISPs (now there's a lot of free ISPs in
> Italy), and they all offer DHCP. I know I could set different forwarders in
> /etc/named.conf, but they would be searched in order (that's what I don't
> want).
> My idea is to set a DHCP client on the linux box, so that I would have the
> right ns every time I connect to a different ISP. Anyway I do not need a
> DHCP server on the linux box since I just have two clients!
> I hope I was clear enough.
> Thanx in advance
> Diego

More information about the bind-users mailing list