[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DNS caching only name server: 1 simple question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A long time ago, in a galaxy far, far way, someone said...

> I've recently learned how-to configure BIND as an DNS caching-only
> server. So far the DNS caching server configuration of BIND has proven
> to be awesome!!  That combined with a few TCP/IP tweaks in the /proc
> filesystem and this  Penguin flys :-D

:)

> Throughout my testing I've only encountered one problem. Perhaps some of
> you might have some advice on it.
>

[cacheing dns setup]

> The problem that I am encountering is that whenever I reboot, my ISP's
> DHCP  server re-assigns the nameserver IP addresses, even though the
> IP's of my ISP's DNS servers are static!!
>
> This in affect re-writes  the /etc/resolv.conf file to:
>
> nameserver 199.185.220.36
> nameserver 199.185.220.52
> nameserver 199.80.55.1

You didn't mention how you connect to the internet, but it sounds like you
have a cable modem and get your IP/DNS info via DHCP.

All you really need to do is tell your DHCP client to override the DNS
servers provided by your ISP.

I don't know how to do this with pump; I use dhclient.  I got it to work
by putting

supersede domain-name-servers 127.0.0.1;

in /etc/dhclient.conf.

- -- 
- ----------------------------------------------------------------------
Phil Brutsche				    pbrutsch@tux.creighton.edu

GPG fingerprint: 9BF9 D84C 37D0 4FA7 1F2D  7E5E FD94 D264 50DE 1CFC
GPG key id: 50DE1CFC
GPG public key: http://tux.creighton.edu/~pbrutsch/gpg-public-key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6pwpN/ZTSZFDeHPwRAucEAJ9kjbMgi24PdhjLgLFD8uJEISWT5wCeKr6o
+lxhME3D91lXhQN4oUFmpQo=
=rbMi
-----END PGP SIGNATURE-----



Reply to: