Re: DNS query
-----BEGIN PGP SIGNED MESSAGE-----
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?
| 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.
Senior Software Developer (firstname.lastname@example.org)
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
-----END PGP SIGNATURE-----
- DNS query
- From: Tony Bazeley <email@example.com>