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

On Mon, 15 Sep 2003, Julian Visch wrote:

> I currently have 2 linux boxes, with one being intended as a firewall, and 
> the second as my main machine connect together via network cards, I can 
> telnet, ping each other, but I can't get them the second to use the first as 
> a DNS, I had assumed that all I needed to do was enter the name of the first 
> machine on the seconds setting up of dns, in addition I added the ip 
> addresses of my isps dns, all to no avail. What am I doing wrong?

Install a DNS server on the firewall. I'd suggest BIND purely because it's
the most well known.

A resolver != A DNS server. What you've got is two machines with their
resolvers configured, but they have to be configured to point to a real
DNS server. 

Note that by adding a DNS server, you'll either bypass the ISP nameservers
(so you could configure you firewall with 127.0.0.1 as your first DNS
server), or with a bit of BIND configuration you can get it to simply
forward all questions to your ISP servers. Just remember that BIND doesn't
care what your /etc/resolv.conf contains, it will only use it's own
configuration to work out what servers to query.

Alterantively, configure both machines to have the ISP nameservers and
allow at least udp/53 out, NATing as appropriate. 

- -- 
David Zanetti           |  (__)             
#include <geek/unix.h>  |  ( oo    Mooooooo 
http://hairy.geek.nz/   |  /(_O ./         
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6

iD8DBQE/ZaKzT21+qRy4P+QRAq+sAKD5eTKtpfEfg2hWYeOekg7VPv3xOwCgoUgw
uy5YZRqxFW/n9Y471d3KwPQ=
=931x
-----END PGP SIGNATURE-----


Reply via email to