I'm trying to find a quick hack so I can get some boxes so they can't get on the Internet, but can still our intranet at work.

Right now they use DHCP to assign their IP addresses and all, but resolv.conf in /etc has two nameservers in it. If I take out one of them, they can't get online anywhere (yes, they can still get online if they know the IP address, which is fine -- I'll put in a better fix when I have more time).

I'm trying to find a way to set that automatically on boot though, but I don't know what program is setting it. Is it dhclient3? The distro is Kubuntu.

I could also just have a script that overwrites it at boot too, but I don't see anything that looks like "local" in the init/rc scripts.

Does anyone know where I can set it?

Thanks!

Steve
.===================================.
| This has been a P.L.U.G. mailing. |
|      Don't Fear the Penguin.      |
|  IRC: #utah at irc.freenode.net   |
`==================================='

Reply via email to