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

Re: DNS query



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

Tony Bazeley wrote:
| Hello all,
|
| I have three machines using a static ip assignment
|     1. running smoothwall  as a net gateway (192.168.1.1)
|     2. XPpro
|     3 debian woody
|
| debian woody can ping the outside world using numeric addresses but is
| unable to resolve names, whereas the XP machine can do both.
|
| On the debian machine I have set up the gateway in /etc/network/interfaces
|
| and pointed to the name server by changing /etc/resolv.conf to
|     search HOME
|     nameserver 192.168.1.1
|
| and that the name server is used by checking that /etc/nsswitch contains
| the entry
|     hosts: files dns
|
|  From my rather bleary-eyed reading of the Network Admin guide at this
| time of night it should work - but it doesn't.
| Have I missed something?
|
| TIA
| Tony Bazeley

Are the machines in a domain called HOME?  The "dnsdomainname" command
without any parameters will tell you this. Either replace "HOME" with
the result of dnsdomainname or simply remove it, leaving "search" on a
line by itself.

- --
Andy Ruddock
- ------------
Senior Software Developer (andy.ruddock@minnesund.net)
GPG Key IDs : DSA/EIGamal=0x4E509520 RSA=0x5C38FD43 DSA=0x8B428591
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFAWJ2TRVHR7k5QlSARAuKPAKCuPVlJh9mOM0LMtoYxCZg+q6m7hgCeJN8f
Xji52UVRcMfGkr745vFewmo=
=jQZA
-----END PGP SIGNATURE-----



Reply to: