On 6/22/05, Steve Dibb <[EMAIL PROTECTED]> wrote:
> 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.

Quick DNS hack for dhclient.  If you're running another DHCP client,
then obviously this won't work.  Add the following line to
/etc/dhclient.conf -- or create that file if it doesn't exist.  On
some distros the file will need to be /etc/dhclient-eth0.conf (fedora
is this way, I don't know about Kubuntu).

supersede domain-name-servers 1.2.3.4;

Where 1.2.3.4 is the IP of your internal DNS server.

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

Reply via email to