forward dns from dhcp to dhcp
I'm a bit stumped here... hopefully you guys can point me in the right direction.
Situation is this: I have a Slackware-box (lets call it A) getting IP and DNS from a DHCP-server (lets call this one B), and this box (that's A) is also acting as a DHCP-server to a bunch of other machines on a private network. How would I forward the DNS I get from the first DHCP (box B) to the second (box A), so that the machines on the private network (lets call one of them C) knows about it?
In other words, I get the nameserver(s) from box B into /etc/resolv.conf on box A, and I want these IP:s in my /etc/dhcpd.conf on box A, so that box C can use it.
Is there a preferred way of doing this, or should I start script-hacking?
Last edited by Fark; 03-30-2004 at 04:19 PM.